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)
-   -   Want to add text next to a specific product option (https://forum.x-cart.com/showthread.php?t=23935)

Online Michael 08-08-2006 06:46 AM

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.

jdiehl 08-08-2006 07:51 AM

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.

Online Michael 08-08-2006 08:24 AM

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.

simonc101 05-11-2007 09:01 PM

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.

balinor 05-12-2007 03:02 AM

Re: Want to add text next to a specific product option
 
You mean like this? :)

http://forum.x-cart.com/showthread.php?t=24417


All times are GMT -8. The time now is 05:38 PM.

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