X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Call For price Option? (https://forum.x-cart.com/showthread.php?t=7326)

Taraauto 04-26-2004 05:05 PM

Call For price Option?
 
Any way to may the price say call for price? I try adding the values to the price box but it wont accept it. any clue?

shan 04-27-2004 04:03 AM

open customer/main/product.tpl and look for

Code:

{if $product.price ne 0}
<font class=ProductDetailsTitle>{include file="currency.tpl" value=$product.price}</font><font class=MarketPrice> {include file="customer/main/alter_currency_value.tpl" alter_currency_value=$product.price}</font>{if $config.Taxes.use_vat eq "Y" and $product.vat gt "0"}, {$lng.lbl_including_vat} {$product.vat}%{/if}
{else}
<input type=text size=7 name=price>
{/if}


change to

Code:

{if $product.price ne 0}
<font class=ProductDetailsTitle>{include file="currency.tpl" value=$product.price}</font><font class=MarketPrice> {include file="customer/main/alter_currency_value.tpl" alter_currency_value=$product.price}</font>{if $config.Taxes.use_vat eq "Y" and $product.vat gt "0"}, {$lng.lbl_including_vat} {$product.vat}%{/if}
{else}
Call For Price
{/if}


you may have to do a similar thing to products.tpl and products_t.tpl but this will give you an idea of what to look out for

Taraauto 04-27-2004 07:02 PM

Thanks mate I finially found the issue , under Languages/ lbl_enter_your_price

Changed that and Now items I dont proces say:
Call for Price and Availability

sillywebit 05-02-2004 10:53 AM

Another issue with Call For Price option
 
I had come up with the same solution as Taraauto for adding "Call For Price" on selected products, but the problem I haven't figured out exactly is how to remove the "Buy Now" button on these selected items as well. I'm assuming I have to edit the product.tpl with an <if> statement of some sort. Can anyone help with this?

sillywebit 05-02-2004 11:18 AM

opps, forget about this, I found the answer in another post.

techker 07-18-2011 11:09 AM

Re: Call For price Option?
 
can we get an update on this for 4.plus?

Jon 10-04-2011 10:19 AM

Re: Call For price Option?
 
http://www.websitecm.com/call-for-price-for-xcart.html


All times are GMT -8. The time now is 12:54 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.