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

Want to add text next to a specific product option

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-08-2006, 06:46 AM
 
Online Michael Online Michael is offline
 

eXpert
  
Join Date: Mar 2005
Location: Melbourne, Australia
Posts: 273
 

Default Want to add text next to a specific product option

Hi guys,

I was wondering it's possible to assign some text next to a specific product option that doesn't appear next to other options. In other words, my products have several options where customers can select things such as gift tags, wrapping paper, etc. I would like to include a text link next to one of the options such as "See images here". I believe I have to add an {if} statement somewhere in the customer_options.tpl file but I'm not sure how to identify the option I want to address. Do they have id's or something? Any help would be appreciated very much.
__________________
X-Cart 5.3.5.4
Reply With Quote
  #2  
Old 08-08-2006, 07:51 AM
 
jdiehl jdiehl is offline
 

eXpert
  
Join Date: Dec 2003
Location: Kansas City, MO
Posts: 270
 

Default

I assume that you are going to have certain options that are going to be kind of a standard across the store and you want to include a common text link?

The easiest way would be to just run the if statement on the option label that gets sent to the screen. That should be easy to see in the code. if the option label is "Sizes" then use this format, elseif, etc.

I would probably check the custom mods section first, it's always possible someone did something better for this in the mean time.
__________________
Jason Diehl

Finding Cures for Your Online Headaches: http://www.internetmedicineman.com/
Reply With Quote
  #3  
Old 08-08-2006, 08:24 AM
 
Online Michael Online Michael is offline
 

eXpert
  
Join Date: Mar 2005
Location: Melbourne, Australia
Posts: 273
 

Default

Quote:
Originally Posted by jdiehl
I assume that you are going to have certain options that are going to be kind of a standard across the store and you want to include a common text link?
Yes, that's what I want to do. Basically, the text link I want to put there is a simple html file that has images of all the Gift Tags found in the option list.

I did do a search but couldn't find anything similar.
__________________
X-Cart 5.3.5.4
Reply With Quote
  #4  
Old 05-11-2007, 09:01 PM
 
simonc101 simonc101 is offline
 

Newbie
  
Join Date: May 2007
Posts: 6
 

Default Re: Want to add text next to a specific product option

Michael,

Did you find out how to do this, as I would like to be able to add a link next to a options drop down list as well.
__________________
Xcart 4.1.17
Reply With Quote
  #5  
Old 05-12-2007, 03:02 AM
 
balinor balinor is offline
 

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

Default Re: Want to add text next to a specific product option

You mean like this?

http://forum.x-cart.com/showthread.php?t=24417
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 10:26 AM.

   

 
X-Cart forums © 2001-2020