Skip to content

Soft-delete ShippingMethod translations #121

@kennyadsl

Description

@kennyadsl

As we are doing with Product translations, we should also soft-delete shipping method 's translations.

At the moment, we are just keeping them around and they will be restored automatically if the shipping is undiscarded. This works but it's not ideal since they should be marked as discarded as well.

We can improve this extension by just adding the deleted_at column to the spree_shipping_methods_transations table, and adding discard methods to that table as it's currently done with Spree::Product (in its decorator).

Ref: 0293d9f

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions