oc-shopaholic / oc-shopaholic-plugin

🛍️ No. 1 e-commerce platform for October CMS
https://shopaholic.one
GNU General Public License v3.0
426 stars 51 forks source link

Ability to create global properties #57

Closed mjauvin closed 5 years ago

mjauvin commented 6 years ago

It would be very useful to be able to create a property accessible to all products, independant of its category.

kharanenka commented 6 years ago

We will have to duplicate the properties and filtering settings that are now available in the relation settings with the category. This will duplicate most of the logic for working with global properties, to display properties and filtering. When filtering by global properties, it may be difficult to achieve good performance with a large catalog of products. Perhaps we can add global properties after the plugin optimization of the "Filters for Shopaholic" plugin.

mjauvin commented 6 years ago

An alternative I found was to create a TOP category which will have the new Property and create all categories under this Parent category.

kharanenka commented 6 years ago

Fixed in version 1.3.0 Properties for Shopaholic plugin

mjauvin commented 6 years ago

What exactly was done here, I am using the demo and cannot see a "global" property.

kharanenka commented 6 years ago

I am sorry, I mix up issue.

Now you can create global property set and attach it to all categories. You can use it for render custom filter panel and render filter panel on different pages.

I can add checkbox "global" to PropertySet model. This will get list of properties from global property sets + property sets that are attached to category.

xyng commented 5 years ago

I can add checkbox "global" to PropertySet model. This will get list of properties from global property sets + property sets that are attached to category.

As this issue is closed and referred to as a solution in #137 I'd like to know what its status is. We really need this functionality but it does not seem to be in the current version.

Thanks!

kharanenka commented 5 years ago

Hi @xyng!

We are now focused on adding taxes and multicurrency in plugins. This is highest priority for us. These new features will be added in coming days. Your task has not been developed yet.

xyng commented 5 years ago

Hi @kharanenka, thanks for your answer!

I suppose this issue should be re-opened then, to prevent further confusion? :-)

kharanenka commented 5 years ago

Added "is_global" flag in PropertySet model. Version of Properties for Shopaholic plugin - 1.8.0