Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose attribute for configurable product #2

Closed
wants to merge 6 commits into from

Commits on Dec 18, 2012

  1. Adds the option to choose on which of the available attributes you wa…

    …nt to base your configurable product. For example if you had a product that has size & colour as available configurable attributes and you just wanted to base your related simple products on the colour you would add one (or more) configurable attributes to the additional_attributes like this :
    
    'additional_attributes' => array(
        array(
            'key' => 'config_attributes',
            'value' => 'some_attribute_code'
        )
    ),
    jdurand committed Dec 18, 2012
    Configuration menu
    Copy the full SHA
    7f0799f View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2012

  1. Removed some debugging cruft

    jdurand committed Dec 19, 2012
    Configuration menu
    Copy the full SHA
    36f8a14 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2012

  1. Okay that was pretty dumb...

    jdurand committed Dec 20, 2012
    Configuration menu
    Copy the full SHA
    0092d77 View commit details
    Browse the repository at this point in the history
  2. Remove related products so we don't try to link products which are al…

    …ready linked to the configurable product. (which throws a unique key error)
    jdurand committed Dec 20, 2012
    Configuration menu
    Copy the full SHA
    16ce081 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2013

  1. Reversed this behaviour we need to include used product IDs so they d…

    …on't go instead of removing those which are already there.
    jdurand committed Feb 12, 2013
    Configuration menu
    Copy the full SHA
    d4a08af View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2013

  1. Added a 'repair' feature for the configurable products. If the produc…

    …t already exists with a different configurable attribute set, de product will be dropped and recreated. It works for me, use at your own risks!
    jdurand committed Mar 1, 2013
    Configuration menu
    Copy the full SHA
    ca933dc View commit details
    Browse the repository at this point in the history