when filling out variant properies. what does primary mean
22 views
Skip to first unread message
Dave
unread,
Oct 19, 2011, 4:25:40 PM10/19/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ror_ecommerce
lets say you have a list of 15 properties.
You might want to just display the "primary differentiating property"
so now you just display the product_name and primary_property
this is much better than displaying 15 properties in many cases.
Look at the sub_name method in variants:
def sub_name
primary_property ? "(#{primary_property.description})" : ''
end
Dave
unread,
Oct 19, 2011, 4:32:04 PM10/19/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ror_ecommerce
for example. Jeans might be:
blue
baggy
bell bottoms
denim
but the primary property would be
36x32 size
because all other variants of this product are (blue, baggy, bell
bottoms and denim)
nick Jain
unread,
Oct 19, 2011, 5:35:55 PM10/19/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ror_ec...@googlegroups.com
The properties for a product need to be selected if a customer is going to buy a product or even browsing. All of these should be in drop down list, instead of radio buttons (Radio buttons are good for 3-4 size/color runs).
My opinion.
nick
-- Please Visit Our Expanded Showroom with Dance Floor SAN JOSE LOCATION: Victoria Dance Theatrical Supply 1921 West San Carlos Street San Jose, CA 95128