Jump to content

Product Availability


Recommended Posts

Hi,

 

I was just wondering if anyone could help me with the following code. 

 

<td class="cart_availability" style="text-align:center;">
     
<div class="label visible-phone"> {l s='Avail.'} </div>
{if $product.XXXX}{$product.XXXX|escape:'htmlall':'UTF-8'}{else}--{/if}
 
</td>
 
I need to call the products availability (current quantity) and place it above $product.XXXX but don't know the variables name???
 
Thanks
 
Jason
Link to comment
Share on other sites

Hey Nemo1,

 

Sorry about that, wasn't sure how much more info you needed. I am running a custom theme which I purchased and I had many layout issues on the payment confirmation page, one of which is that the available quantity does not get displayed. 

 

 

This piece of code is in a .tpl file called order-product-line.tpl, which I created to fix all the other layout problems. This file is essentially the same as shopping-cart-product-line.tpl except that it has certain lines of code that were modified in order to get the layout I want. I can include all the relevant .tpl files if needed??

 

Let me know

 

Jason 

Link to comment
Share on other sites

×
×
  • Create New...