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)
-   -   need a way to have a catagory available for phone order only (https://forum.x-cart.com/showthread.php?t=44974)

ARW VISIONS 01-17-2010 08:17 AM

Re: need a way to have a catagory available for phone order only
 
{if $cat > 249 && $cat < 275}
Pleae call to order
{else}
{include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"}
{/if}

might work

cbostard 01-17-2010 11:23 AM

Re: need a way to have a catagory available for phone order only
 
once again Superb, Thanks alot.
Chris

cbostard 01-18-2010 08:35 AM

Re: need a way to have a catagory available for phone order only
 
Ashley, Thanks again for all your help. If I may ask to go one step further.
Now we have the catagories 249 to 276 "Call to order". I do have the Wishlist button activated, cause I would like the customer to be able to create a wishlist of the items in the cat. 249 to 276 then email to me". But when a wishlist is created the Add to Cart is activated. I would like to possibly delete the add to cart button only for the catagories that are "Call to Order". thus doing so it will not affect any other products that are in the wishlist from other catagories.

I was looking in the /modules/wl_buttons.tpl but not sure if that is the correct template and how to rewrite it.

any more help would be great.

Chris

ARW VISIONS 01-18-2010 08:52 AM

Re: need a way to have a catagory available for phone order only
 
What do you mean the button is activeted? it show on the product page? can you post a URL please?


All times are GMT -8. The time now is 09:08 PM.

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