Skip to content

albsa/magento2-configurable-dynamic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magento2-configurable-sku-switch

Status

Tested by on magento 2.1.3 (blank theme), 2.1.8 Modified Snowdog Theme

Do not expect this module to be updated/bugg fixed/altered for any specific magento version

Purpose

Change attributes for configurable on frontend to show the sku for selected product

Credits

stackexchange

HowTo

The plugin is flexibel. Theme HTML has to be modified to contain data-dynamic attributes.

Example: HowTo Make the SKU dynamic

in layout/catalog_product_view.xml add

	<referenceBlock name="product.info.sku">
		<arguments>
			<argument name="add_attribute" xsi:type="string">itemprop="sku" data-dynamic="sku"</argument>
		</arguments>
	</referenceBlock>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.3%
  • PHP 39.7%