Jump to content

[SOLVED] Shopping Cart Summary page changes required


Guest

Recommended Posts

I do wish Prestashop would build options into their designs :)

 

The latest release theme update has changed the appearance of the shopping cart. It adds in the "availabilty" wording (Wording when in and out of stock). Which is OK, but it kind of suggests that we do not have enough stock

 

post-246958-0-12149800-1399022385_thumb.png

 

I need to change this to also display the current stock levels

 

Can anyone point me in the direction of the correct code and where to place it?

 

Link to comment
Share on other sites

{$product.stock_quantity}

 

you can use this variable in shopping-cart-product-line.tpl file located in your theme directoryy

<td class="cart_avail"><span class="{if $product.quantity_available <= 0}label label-warning{else}label label-success{/if}">{if $product.quantity_available <= 0}{if $product.allow_oosp}{$product.available_later}{else}{l s='Out of stock'}{/if}{else}{if isset($product.available_now) && $product.available_now}{$product.available_now}{else}{l s='In Stock'}{/if}{/if}</span>{$product.stock_quantity}</td>
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 2 months later...
I have a problem in the page of the order (shopping-cart.tpl and shopping-cart-product-line.tpl)

 

In the pages of the order, prices are unpacked. 

Yesterday I managed to fix the unit price, now I get what I want (the price VAt included, not one without VAT). 

This is the problem: if I increase the quantity of the total price of the products (including tax) it reminds me of the sum of the price without VAT. if, instead, I diminish the total quantity of the product I remains unchanged and the total product (including tax) I riportail discounted price without VAT. 

I tried to modify the code several times, but without success. Could you give me a hand? 

 

The version I am using is 1.6.0.8 and the template is a zandress changed. this is the site: www.xanthe.it. 

 

Thank you. 

Marcello

Link to comment
Share on other sites

×
×
  • Create New...