V
V
Vyacheslav2014-07-28 00:53:43
CMS
Vyacheslav, 2014-07-28 00:53:43

prestashop. In the product category, the price is 0, but in the product itself everything is fine. What module is the problem?

Hello. The installed latest version of Prestashop is 1.6.0.8. In the category of goods, all lots have a price of 0, although the price is set correctly in the admin panel. And on the product itself, the price is the same as set in the admin panel. How can this problem be corrected? Why doesn't the price work for the same in the list of products and on the product itself?
link to the category with the price - 0 -
Link to the product with the correct price

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivan, 2014-07-28
@0neS

Have you looked in the /themes/.../ product-list.tpl template ?

A
AlfAll, 2014-09-08
@AlfAll

If you have Prestashop version 1.6 and the template is version 1.4 or 1.5, then in your theme template you need to find the product.js file and replace the lines
if (productPrice > 0) {
with
if (productPriceDisplay > 0) {
our_price = formatCurrency(productPrice, currencyFormat) , currencySign, currencyBlank);
on
our_price = formatCurrency(productPriceDisplay, currencyFormat, currencySign, currencyBlank);
$('#old_price_display').text(formatCurrency(productPriceWithoutReduction, currencyFormat, currencySign, currencyBlank));
to
$('#old_price_display').text(formatCurrency(productPriceWithoutReductionDisplay, currencyFormat, currencySign, currencyBlank));

P
PrinsAlbert, 2015-06-16
@PrinsAlbert

This looks like a modified template from 1.5
. Try copying the code from default-bootstrap to 1.6, which is responsible for displaying the price.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question