| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Showing product price in product.tpl | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
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 |
|||||||||
#2
|
|||||||
|
|||||||
Re: Showing product price in product.tpl
Move the span tags inside the strong tags to retain the formatting. check_options.js replaces everything between the span tags when the options selections change.
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
|
|||
X-Cart forums © 2001-2020
|