oc-shopaholic / oc-orders-shopaholic-plugin

🛒 Orders (cart) extension for Shopaholic plugin
https://octobercms.com/plugin/lovata-ordersshopaholic
GNU General Public License v3.0
27 stars 18 forks source link

Property values ​​remain set as filters even if no product has that value #152

Open Tay987 opened 3 years ago

Tay987 commented 3 years ago

I created a set of properties and setted as global and I setted some properties for filters. I created a product with offers and filled the properties with some vaules. After that if I empty one or more property field, that values persist as filter on the category page. Is there any type of cache? Is there a way to clear it? Filters on frontend:

Schermata 2021-04-08 alle 12 28 17

Value of the property in backend:

Schermata 2021-04-08 alle 12 28 34

wobqqq commented 3 years ago

@Tay987 What theme do you use? Is that Sneakers theme?

Tay987 commented 3 years ago

Yes it is.

Tay987 commented 3 years ago

@wobqqq any advice on how to solve my problem?

wobqqq commented 3 years ago

@wobqqq any advice on how to solve my problem?

You can clear the lovata_properties_shopaholic_value_link and lovata_properties_shopaholic_value_link tables and then clear the cache. Perhaps before that you used a different type of property in the property settings and after changing the type, the values ​​for the old type have not changed.

Tay987 commented 3 years ago

I've already tried deleting the records related to the products involved in the problem and cleared application cache, but nothing changed. Only thing that worked was to delete the offer and create them again. Is there another command to clear the cache apart from php artisan cache: clear?

wobqqq commented 3 years ago

no

lautsevich commented 3 years ago

@Tay987, let's join our community chats:

You can ask for help there too.