| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Remove brackets on variant price | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
I am trying to figure out how to remove the brackets around the product price if the product has a variant. It makes it look as if the price is negative. I know that it has something to do with the check options.tpl but I am stumped on how to remove them. Any help would be appreciated. Thanks, Pete
__________________
Pete xcart Version 4.0.17 [win] and xcart Version 4.0.18[win] |
|||||||
#2
|
|||||||
|
|||||||
![]() Got an example url? This isn't standard behavior...
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Hi,
Thanks for the quick response. I am afraid that the domain isn't propogated yet and since the site is on a Virtual Dedicated Server with shared ip addresses it is not possible to view the site by entering in the ip address of the site. It is only the products that have variants that are showing brackets before and after the price but for the life of me, I can't figure out what is putting those brackets there. I am modifying the site fairly heavily so I am sure that it is something that I must have caused if this is not normal. Is there any info that I can provide that would help you to help me? I have attached a screenshot of a product with this problem. Thanks again, Pete
__________________
Pete xcart Version 4.0.17 [win] and xcart Version 4.0.18[win] |
|||||||
#4
|
|||||||
|
|||||||
![]() 1. Use webmaster mode.
2. determine that the template you are seeing this in is /skin1/customer/main/product.tpl (right?) 3. Find the code in product.tpl that displays the price. Code:
Do you have a ( or ) in there? Make them go away. ![]()
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#5
|
|||||||
|
|||||||
![]() Hi,
That would have been the easy solution right? My code is the same as yours except I removed the references to the alt currency as I only want to show the primary currency. {if $product.taxed_price ne 0 || $variant_price_no_empty} <font class="ProductDetailsTitle"><span id="product_price" style="white-space: nowrap;">{include file="currency.tpl" value=$product.taxed_price plain_text_message=true}</span></font> {if $product.taxes}<br />{include file="customer/main/taxed_price.tpl" taxes=$product.taxes}{/if} I am pretty sure that the price is being controlled by code further down in the template if variants exist for that product: { include file="modules/Product_Options/customer_options.tpl"} which in turn includes check_options.tpl. I believe that the answer lies in one of these two templates but I can't see where. Thanks, Pete
__________________
Pete xcart Version 4.0.17 [win] and xcart Version 4.0.18[win] |
|||||||
|
|||
X-Cart forums © 2001-2020
|