Answer the question
In order to leave comments, you need to log in
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
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));
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 questionAsk a Question
731 491 924 answers to any question