creditkey / magento2-b2bgateway

Credit Key Magento 2 Module
MIT License
0 stars 4 forks source link

Feature/pdp category select #32

Closed rain2o closed 5 years ago

rain2o commented 5 years ago

Removed the product multi-select and replaced it with a category multi-select. Now the Product View Marketing block checks if the current product is in any of the selected authorized categories to display the content. It still checks if no categories are selected it defaults to all products.

I couldn't really figure out a better way to present the hierarchy of categories in the multi-select since our options are limited within select <option> formatting. We can change this if you have any better ideas.