Author Topic: Global attributes - size and colour  (Read 5116 times)

Offline nigelt

  • Newbie
  • *
  • Posts: 34
  • Karma: +4/-0
    • View Profile
Global attributes - size and colour
« on: April 25, 2014, 06:59:25 AM »
I've created a product and am using global attributes.
I've create a parent, with 2 child attributes, one being size and the other colour.
The size attribute has 4 size and the colour attributes has 4 colours.
When I view the product on the front end, I just see one drop down box which shows a long list with the following...
Small / Black
Small / White
Small / Red
Small / Green
Medium / Black
Medium / White
etc etc etc

What I want to see is two drop down boxes, one for size and one for colour so the customer can choose that way.

Am I setting it up wrong, or is this how it works in Abantecart ?
Thanks

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Global attributes - size and colour
« Reply #1 on: April 25, 2014, 10:34:25 AM »
You will see only 1 dropdown for single parent attribute combines with children values. This is how parent attribute works.
If you need 2 dropdowns you do not need to combine attributes in single one, use 2 separate attributes.
 
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline nigelt

  • Newbie
  • *
  • Posts: 34
  • Karma: +4/-0
    • View Profile
Re: Global attributes - size and colour
« Reply #2 on: April 25, 2014, 02:09:25 PM »
ah, yes.
I tried it that way first.

The problem I have is that all my products have unique SKU's..

White T Shirt, Small SKU001
White T Shirt, Medium SKU002
Black T Shirt, Small SKU003
Black T Shirt, Medium SKU004

By using the Parent Child attributes, I can assign an individual SKU to each product, but the dropdown box looks messy.
If I have separate dropdowns for Colour and Size, I cant assign separate SKU's to them :-(

You cant think of a way I can achieve this can you ?

Thanks
If I can get this bit working, then abantecart is absolutely perfect for me :-)



Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Global attributes - size and colour
« Reply #3 on: April 25, 2014, 04:40:44 PM »
In case of unique SKU you will need to use parent attribute to group children attributes.
Unfortunately, values are grouped into one select to represent the set.

You should be able to customize the display to show attributes in separate dropdowns, but this will require some programming.
There is no quick solution.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline nigelt

  • Newbie
  • *
  • Posts: 34
  • Karma: +4/-0
    • View Profile
Re: Global attributes - size and colour
« Reply #4 on: April 25, 2014, 05:57:04 PM »

Time to dust off my php for dummies book then :-)
Thanks for your help. Much appreciated.

 

Powered by SMFPacks Social Login Mod