Jump to content

how to solve this unit price, Total price display not showing in prestashop


Recommended Posts

Hello,

 

There is a bug that I'm getting and I absolutely don't know how to fix it, here is my issue, please help!

 

When I add products to the cart, there is one product that sometimes is not displayed in the block cart, the total is correct though

 

I'm trying to find the scenario that generates this bug but it's so random, I don't know what's the logic behind it :(

 

Had anyone of you stumbled upon this bug before? and how did you fix it? thanks in advance

post-333487-0-79097400-1330518961_thumb.jpg

Link to comment
Share on other sites

Hello

 

There is a bug that I'm getting and I absolutely don't know how to fix it, here is my issue, please help!

 

All Price Values Is not showing that is unit price and total price...please see the attached images.....

 

we have some modifies the table and files.....

 

How to get the database values in tpl files.....shopping-cart-product-line.php

 

<td class="cart_unit">

<span class="price" id="product_price_{$product.id_product}_{$product.id_product_attribute}">

 

{if !$priceDisplay}{convertPrice price=$product.price_wt}{else}{convertPrice price=$product.price}{/if}

</span>

</td>

 

<td class="cart_total">

<span class="price" id="total_product_price_{$product.id_product}_{$product.id_product_attribute}">

{if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)}

{if !$priceDisplay}{displayPrice price=$product.total_customization_wt}{else}{displayPrice price=$product.total_customization}{/if}

{else}

{if !$priceDisplay}{displayPrice price=$product.total_wt}{else}{displayPrice price=$product.total}{/if}

{/if}

</span>

</td>

 

Please help me.....

 

How to get the database values and print the unit prices and product total price in tpl files...

post-333487-0-40517800-1330682020_thumb.jpg

Link to comment
Share on other sites

Hi parthee,

I apologize, but I am still unable to see any sort of error in your screenshots, nor can several of my colleagues. Can you please try to be more specific and descriptive about the issue, telling me what you believe should be happening compared to what is actually happening? Otherwise, there is unfortunately not much we can do because from that screenshot you have posted, everything does look accurate.

 

-Mike

Link to comment
Share on other sites

×
×
  • Create New...