Back to blog
4 min read Content Sync

Grouped Products, Upsells and Cross-Sells After Syncing WooCommerce Products

Grouped products, upsells and cross-sells all point at other products, and they store those products as IDs. The same product has a different ID in every store, so when you copy products to another store, these links either break or, worse, point to unrelated products that happen to have the old IDs. With Import Export by RockStarLab PRO, a product push links grouped products, upsells and cross-sells to the matching products in the other store.

PRO: WooCommerce product sync is a PRO feature and needs PRO with a license on both sites. The test below used Import Export by RockStarLab 2.2.13 and PRO 2.1.31.

Short Answer

Push the products together: the grouped product, its children and the products used as upsells and cross-sells. On the other store, the grouped product contains the copies of its children, and the upsells and cross-sells point to the copies of those products. A product pushed on its own later finds its linked products among the ones pushed before. A linked product that doesn’t exist in the other store is left out of the list instead of being linked to a wrong product.

The products we pushed

On the source store, the coffee Nordlicht House Blend 250 g had an upsell, Milk Jug 350 ml, and a cross-sell, Espresso Cups (2 pcs):

Linked Products tab of a coffee product on the source store with the upsell Milk Jug 350 ml and the cross-sell Espresso Cups (2 pcs)
Upsell and cross-sell on the source store.

The grouped product Espresso Starter Set contained the coffee and the cups:

Linked Products tab of the grouped product Espresso Starter Set on the source store with two child products
The grouped product and its two children on the source store.

In Products we ticked all four, clicked Sync Content, chose the other store and clicked Push to Site. Three were new there; the coffee already existed and was set to update:

Map Posts for Sync dialog with four products: three new and one set to update
The four linked products pushed together.

What the other store got

After Confirm & Sync, the coffee on the other store had the same upsell and cross-sell, as the products of that store, with their SKUs:

Linked Products tab on the receiving store with upsell Milk Jug 350 ml (JUG-350) and cross-sell Espresso Cups (2 pcs) (CUPS-2)
On the other store the upsell and cross-sell point to its own products.

The grouped product contained the store’s own copies of the coffee and the cups:

Grouped product on the receiving store containing Nordlicht House Blend 250 g and Espresso Cups (2 pcs)
The grouped product on the other store contains the copies of its children.

Then we pushed only the coffee again, without the other products. Its upsell and cross-sell still pointed to the jug and the cups on the other store, because those had been pushed before and the plugin remembers which product came from which.

Link on the source product On the other store after the push
Grouped product children The copies of the children
Upsells The copies of the upsell products
Cross-sells The copies of the cross-sell products
Linked product never pushed to that store Left out of the list

Things to know

  • Push linked products in the same push or before the product that links to them. A link to a product the other store doesn’t have is dropped; push that product and then the linking product again.
  • Children of a grouped product that the other store doesn’t have yet are created with the grouped product.
  • Grouped children that already exist in the other store but were never synced are found by SKU, so give products SKUs before the first push.
  • Upsells and cross-sells in the other store are replaced by the source lists on each push.

As before any push, back up the store you push to, or ask your AI agent to start the backup.

With an AI agent

Import Export by RockStarLab gives AI agents its exports, imports and Content Sync as abilities. Through the WordPress MCP Adapter, WordPress itself offers an agent only read-only abilities for site, user and environment information, so without the plugin the agent cannot do the steps above (to connect an agent, see connecting Claude Code to WordPress). With it, one request is enough:

With Import Export by RockStarLab, on this store, which products does the grouped product Espresso Starter Set contain?

In our check, the agent called WooCommerce’s woocommerce/products-query ability with a search for the grouped product. It returned grouped_products [7311, 7313], the IDs of Nordlicht House Blend 250 g and Espresso Cups (2 pcs) on that store, not the IDs from the source store.

FAQ

Why do my upsells point to the wrong products after copying products to another store?

Upsells and cross-sells are stored as product IDs, which differ between stores. A product push links them to the matching products in the other store.

Are grouped product children copied?

Yes. The grouped product on the other store contains the copies of its children; missing children are created.

What if a linked product doesn’t exist in the other store?

It is left out of the list. Push that product, then push the linking product again.

Do I have to push all linked products every time?

No. Products pushed earlier are found again, so you can push one product on its own.

Get the free plugin on WordPress.org.

Dmitriy
About author

Dmitriy

WordPress Developer with 15+ years of commercial experience. Elite Author on ThemeForest and creator of custom WordPress plugins. Passionate about clean code, performance optimization, and building useful tools for the WordPress community.

JOIN THE CONVERSATION

Comments 0

Have a question or a tip to share? Leave it below.

Leave a comment

Your email address will not be published. Required fields are marked *

We store your name, email and comment to show and moderate it; your email is never published. Spam protection is provided by Cloudflare Turnstile and profile pictures by Gravatar. See our Privacy Policy.


Try the plugin with no risks!

New users get 1 month with access to all premium features. Experience the most powerful WordPress data engine today.

Download Now
Get PRO for FREE