Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

additional Link
 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #1  
Old 07-27-2003, 07:24 PM
 
EZ EZ is offline
 

Advanced Member
  
Join Date: Jul 2003
Location: Old Bridge, NJ
Posts: 96
 

Default 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.
__________________
Never believe anything you hear and only half of what you see!

Edward J Ziejka
www.innervisionpc.com
X-Cart Gold 4.1.3
Unix
Reply With Quote
  #2  
Old 08-02-2003, 10:55 PM
 
EZ EZ is offline
 

Advanced Member
  
Join Date: Jul 2003
Location: Old Bridge, NJ
Posts: 96
 

Default 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.
__________________
Never believe anything you hear and only half of what you see!

Edward J Ziejka
www.innervisionpc.com
X-Cart Gold 4.1.3
Unix
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2018