Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

https://github.com/magesuite/product-variants

This module adds the possibility to configure and display variations of a given product. All product variants are standalone simple products and they are all displayed on the product grid.

Installation

This module is optional

composer require "creativestyle/magesuite-product-variants" ^1.0.0

User Manual

4.3. Product Variants

Admin settings

Admin settings can be found in Stores -> Configuration -> MageSuite -> Product Variants

Name

Value

Comment

Is Enabled

 Yes/No 

Default value: Yes

Attribute Code

Default attribute is "article_group_id"

Short Name Pattern

  • Full name 

  • Remove prefix 

  • Remove suffix 

  • Remove prefix and suffix 

  1. FULL NAME

  2. REMOVE PREFIX: display only the latest strings of the product name that are differentiating. For example: Crown Backpack 20L will be named 20L in the Variant switcher

  3. REMOVE SUFFIX: In this case the Variant switcher will contain only the first strings of the product 
    name that are differentiating. For example: 35mA battery will be named 35mA in the Variant switcher

  4. REMOVE PREFIX AND SUFFIX: The backend will take both removing suffix and removing prefix under consideration and will calculate the largest common counter.

In the product edit form article_group_id (or other field, if the name of attribute is custom) should be filled:

Backend

Frontend

Styling

Product variants is an optional module and its styling must be enabled in pdp.ts entry:

import 'MageSuite_ProductVariants';

  • No labels