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

Is it possible to add text und checkout in product display?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-18-2006, 09:48 PM
 
cwill2200 cwill2200 is offline
 

Senior Member
  
Join Date: Jun 2006
Posts: 137
 

Default Is it possible to add text und checkout in product display?

I would like to add text under the checkout button on the product display page. I am almost sure it would be added to product.tpl but not sure of exact coding.
__________________
cwill2200
X-Cart Gold 4.0.18
FreeBSD
Reply With Quote
  #2  
Old 07-18-2006, 10:41 PM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default

For this and any changes you want to make, start with Webmaster mode. That will show you the template you need to edit.

For this though, yes, it is product.tpl to start with if you want the product display page, although this by default has an Add to Cart button which I presume you meant, as the Checkout button appears in the checkout process.

If you were to follow the x-cart format, you would put the text in a language variable which you would have to create. But there are no rules, you can just add text straight into the template. Edit the page in a decent ftp program where you can put the page in layout mode and you will see that most of the page is just simple html tables. If you know html coding then just go for adding the text where you need it, probably under the code for:
{include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"}
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 07-19-2006, 01:55 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Moving to Template Editing
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 07-24-2006, 07:04 PM
 
cwill2200 cwill2200 is offline
 

Senior Member
  
Join Date: Jun 2006
Posts: 137
 

Default Add text to products!

Can this be specific to each product or will it need to appear on all products?
__________________
cwill2200
X-Cart Gold 4.0.18
FreeBSD
Reply With Quote
  #5  
Old 07-25-2006, 02:20 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default

If you put something within the loop for each product on the products page, it is going to loop and repeat each time.

If you want something product specific, perhaps put it within the product description itself.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #6  
Old 07-25-2006, 10:15 AM
 
cwill2200 cwill2200 is offline
 

Senior Member
  
Join Date: Jun 2006
Posts: 137
 

Default

ok, that is what I decided to do was put in product desscription itself. Thanks for your help!
__________________
cwill2200
X-Cart Gold 4.0.18
FreeBSD
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 12:40 AM.

   

 
X-Cart forums © 2001-2020