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

Properties - Removing a property value from XML #169

Open sagjatome opened 2 years ago

sagjatome commented 2 years ago

When importing goods via XML, the product gets certain properties and values. There are cases when a product loses the value of a property (for example, a quality certificate) or the value itself becomes irrelevant. However, removing a property value from XML does not make any changes to the database. You either need to check for the presence of properties in XML and delete the disappeared ones, or add an additional option to clear property values before importing.