View Single Post
  #1  
Old 11-12-2006, 12:12 PM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,471
 

Default Showing product price in product.tpl

Hello ...

I'm editing the file product.tpl to customise the way it shows the product price.

Currently the code is as follows:

<span id="product_price">
<strong>{include file="currency.tpl" value=$product.taxed_price}</strong>
</span>

Looks pretty straight forward as it just displays the product price in bold.

However if the product has a number of product options/variants the strong formatting is removed ..

Does anyone who to why this is happening?

I feel it's something to do with func.js calling the product_price id but i'm not sure on how to get around it.

Regards

Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote