X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   additional Link (https://forum.x-cart.com/showthread.php?t=3767)

EZ 07-27-2003 07:24 PM

additional Link
 
I have a few products (Computer Systems) That when you go to the product I would like to have a button or just text that reads Configure Now in the addition to Buy Now text that goes to the same page. I only want to do this for three products.

EZ 08-02-2003 10:55 PM

Got it!
 
If anyone is interested here is the code to do this.

Add Configure now button to special products instructions:

Please edit the '<xcart-dir>/skin1/customer/main/buy_now.tpl' template and insert the lines

{if $product.productid eq 1 or $product.productid eq 19 or $product.productid eq 20} Configure Now {/if}

directly before the

{include file="buttons/buy_now.tpl"}

Please substitute the PRODUCTID1, PRODUCTID19, PRODUCTID20 with actual productids of the products for which you would like to add the button.


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

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