You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this bundle in a project to define a global shipping_cost setting. Since an admin can set a "discounted" shipping cost to specific customers, the setting has ALL scope. This way I can do something like $settings->get('shipping_cost', $user) to retrieve either the specific (customer) shipping cost, or the global one.
The problem appears when an admin wants to remove the specific shipping cost from the customer. It does not get deleted from the database. Instead of that, it is set to the same value as the global one. This creates a problem when the global value changes.
The text was updated successfully, but these errors were encountered:
I am using this bundle in a project to define a global
shipping_cost
setting. Since an admin can set a "discounted" shipping cost to specific customers, the setting hasALL
scope. This way I can do something like$settings->get('shipping_cost', $user)
to retrieve either the specific (customer) shipping cost, or the global one.The problem appears when an admin wants to remove the specific shipping cost from the customer. It does not get deleted from the database. Instead of that, it is set to the same value as the global one. This creates a problem when the global value changes.
The text was updated successfully, but these errors were encountered: