Allow products to be duplicated

Created on 22 March 2019, over 5 years ago
Updated 24 December 2023, 11 months ago

Once #3042257: Allow stores, promotions to be duplicated is done, we can proceed to products.

The simplest implementation would remove all referenced variations in createDuplicate(), since variations can't be shared between products and they have unique SKUs. However, we can implement an optimization for single-variation products ($product_type->allowMultipleVariations() is FALSE), and clone the variation in that case (since we know that the SKU field will be shown along with the product form).

Also, feedback suggests we need a way to duplicate variations as well. If we proceed without it, we should open a followup.

Feature request
Status

Needs review

Version

2.0

Component

Product

Created by

🇷🇸Serbia bojanz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024