Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Set Default Attributes options based on Cookies


hasnut

Recommended Posts

Posted

Here is my Situation

I have Several products Say Shirts, which have 3 attributes

Gender--(options)> Male/Femal

Size----(options)> S/L/XL

Color----(options)> Red/Green/Blue

 

I have another page where I get the users General Data thoes are Gender,Size and Color and store them in cookies

 

I want if the cookies are set then whatever shirt is choosed the shirt's attributes options should be set default based on it.

 

Say a user set Gender=Male, Size=XL

so If a shirt is viewed the attributes default value would be Gender->Male(defalut)

Size=XL(defalut)

Color=None selected

 

 

If you don't get the problem just tell me I will explain.

 

THanks

Hasnut

Posted

Interesting and woundering Why not anyone not replied?

or its so common and you just woundering why I can't do it with a contribute(Not sure if its there)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...