Please sign in to comment.
Have the taxonomies & product meta set after children are created whe…
…n duplicating product. **Bug fix for the following issue:** Only the first product variant would be shown on the public product listing on a product that had been duplicated (original containing multiple variants). Turns out only the first term relationship was being kept during the duplication process (public page uses get_terms while admin uses custom query [which is why variants were still being shown there]… missing term relationships leads to missing variants called by get_terms). Commenting out the wpsc_duplicate_children() function was a quick fix as it's 100% caused by that process, but that wasn't a good route to take. Settled on simply changing the order in which it happens… duplicate children first, and then taxonomies & product meta. *That fixed the issue!*
- Loading branch information...