| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
need a way to have a catagory available for phone order only | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() is there a way to have an entire catagory available for phone ordering only, thus also possibly not showing a buy now or add to cart or create a please call button.
__________________
Version 4.3.1 fancy catagories (enabled) dynamic image generator 4.1(enabled) tabbed menu buttons Cdseo Pro (enabled) anonymous cart mod (enabled ) skin swap "mod doesnt work well for me" x-magnafier xcart Gift registry |
|||||||
#2
|
|||||||
|
|||||||
![]() This thread will show you the kind of statement to get stuff for just one category...
http://forum.x-cart.com/showthread.php?t=44976 I will post you another thread I was just in that showed how to remove those buttons (we did it for items of 0 dollars ... this making them call for price ... so there was no need to do any category stuff, you could just set all items in that category to 0 dollars. EDIT: here is the other thread with the call for price information: http://forum.x-cart.com/showthread.php?t=18727
__________________
X-Cart 4.5.4 Gold (Live Business Site) X-Cart 5.1.9 Business (In Development Now) |
|||||||
#3
|
|||||||
|
|||||||
![]() that all sounds good but I still want to show price for the products in the catagory
__________________
Version 4.3.1 fancy catagories (enabled) dynamic image generator 4.1(enabled) tabbed menu buttons Cdseo Pro (enabled) anonymous cart mod (enabled ) skin swap "mod doesnt work well for me" x-magnafier xcart Gift registry |
|||||||
#4
|
|||||||
|
|||||||
![]() Well I am sure you could put the "please call text instead of the add now/buy now" buttons.
That way you would have your price and the call info.. I just thought with those 2 threads you could pull something together ![]()
__________________
X-Cart 4.5.4 Gold (Live Business Site) X-Cart 5.1.9 Business (In Development Now) |
|||||||
#5
|
|||||||||
|
|||||||||
![]() you can remove the buy now button from a category and replace it with please call.
***back up your product.tpl*** in product.tpl find this code. <tr> <td class="ProductPriceConverting" valign="top">{$lng.lbl_price}:</td> <td valign="top"> {if $product.taxed_price ne 0 || $variant_price_no_empty} <font><span id="product_price" style="white-space: nowrap;">{include file="currency.tpl" value=$product.taxed_price plain_text_message=true}</span></font><font class="MarketPrice"> <span id="product_alt_price" style="white-space: nowrap;">{include file="customer/main/alter_currency_value.tpl" alter_currency_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} {else} <input type="text" size="7" name="price" /> {/if} </td> </tr> replace it with this. make sure to change 249 to whatever you category number is. {if $cat eq 249} <tr> <td> Please call to order </td> </tr> {else} <tr> <td class="ProductPriceConverting" valign="top">{$lng.lbl_price}:</td> <td valign="top"> {if $product.taxed_price ne 0 || $variant_price_no_empty} <font><span id="product_price" style="white-space: nowrap;">{include file="currency.tpl" value=$product.taxed_price plain_text_message=true}</span></font><font class="MarketPrice"> <span id="product_alt_price" style="white-space: nowrap;">{include file="customer/main/alter_currency_value.tpl" alter_currency_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} {else} <input type="text" size="7" name="price" /> {/if} </td> </tr> {/if} are you using the add to cart button on the products page? (the page with multiple products.) because that will need to be changed also.
__________________
xcart 5.1.2 |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() I just woke up from a nap excuse me.
Im sorry that is wrong. it removes the price not the buy now. find this {include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"} and replace with this {if $cat eq 249} Pleae call to order {else} {include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"} {/if}
__________________
xcart 5.1.2 |
|||||||||
#7
|
|||||||
|
|||||||
![]() Thanks Ashley, that works great.
i really appriciate it
__________________
Version 4.3.1 fancy catagories (enabled) dynamic image generator 4.1(enabled) tabbed menu buttons Cdseo Pro (enabled) anonymous cart mod (enabled ) skin swap "mod doesnt work well for me" x-magnafier xcart Gift registry |
|||||||
#8
|
|||||||||
|
|||||||||
![]() de nada
__________________
xcart 5.1.2 |
|||||||||
#9
|
|||||||
|
|||||||
![]() top bananas that little tweak works a treat. cheers :-p
__________________
Live with Gold 4.5.1 Dedicated Linux server MaxCDN 4 pull zones Dedicated SSL ![]() |
|||||||
#10
|
|||||||
|
|||||||
![]() The script works good but can anyone help by telling me how to add the call to order to a group or multiple catagories, I want to put the ( Call To Order ) in the catagory and all sub catagories within it.
lets say a range like {if $cat eq 250 to 275} just dont know how to right it. Thanks Chris
__________________
Version 4.3.1 fancy catagories (enabled) dynamic image generator 4.1(enabled) tabbed menu buttons Cdseo Pro (enabled) anonymous cart mod (enabled ) skin swap "mod doesnt work well for me" x-magnafier xcart Gift registry |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|