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)
-   -   How to set product options in certain places? (https://forum.x-cart.com/showthread.php?t=61713)

Eyeglasses Expert 11-20-2011 03:02 AM

How to set product options in certain places?
 
I have 8 different product options, I want to set them in different places. How to do, please?

JWait 11-20-2011 06:43 AM

Re: How to set product options in certain places?
 
I'm not sure I understand your question. Are you saying you want your product options displayed somewhere other than where they normally are displayed, or are you asking how to get those same product options for different products?

Eyeglasses Expert 11-20-2011 07:57 AM

Re: How to set product options in certain places?
 
both, please.

JWait 11-20-2011 09:38 AM

Re: How to set product options in certain places?
 
To display your product options somewhere other than normal, look in product_details.tpl for whatever skin you are using, specifically find where it says
{if $active_modules.Product_Options ne ""}.

Product options are set individually for each product.

Eyeglasses Expert 11-21-2011 12:00 AM

Re: How to set product options in certain places?
 
Would you please give some examples?

for example, i have set up 2 options, color and size:

Color
red=+1
green=+2

Size
big
small=+7

JWait 11-21-2011 05:07 AM

Re: How to set product options in certain places?
 
Quote:

Originally Posted by Eyeglasses Expert
Would you please give some examples?

for example, i have set up 2 options, color and size:

Color
red=+1
green=+2

Size
big
small=+7


What do you mean by "+1", "+2", and "+7"?

Eyeglasses Expert 11-21-2011 05:53 AM

Re: How to set product options in certain places?
 
Price Modifier
red=+1, means if choose red, add $1
green=+2, means if choose green, add $2.

JWait 11-21-2011 06:39 AM

Re: How to set product options in certain places?
 
Ok, the best solution there would probably be to make them product variants.
You can set the price individually and it will change when the customer chooses it. The only drawback, if you count it as one, is that the SKU will change for each variant (but you can make them whatever you want as long as they are not duplicated).

You can also eliminate unavailable combinations when there is more than one option per product... for instance, what if the customer orders "green" and "small" and you don't have that available to sell, ever.

frontliner 02-14-2012 05:24 PM

Re: How to set product options in certain places?
 
Quote:

Originally Posted by JWait
To display your product options somewhere other than normal, look in product_details.tpl for whatever skin you are using, specifically find where it says
{if $active_modules.Product_Options ne ""}.

Product options are set individually for each product.


Hi JWait,

I tried to add the following to skin1/customer/main/featured.tpl, however product variant doesn't appears next to concerned products in homepage/featured products :
Code:

{if $active_modules.Product_Options ne ""}
      {include file="modules/Product_Options/customer_options.tpl"}
    {/if}

I tried both before and after the existing {/if} statement without success.

Can you help me more ?
Thanks.


All times are GMT -8. The time now is 01:36 AM.

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