woocommerce / google-listings-and-ads

Sync your store with Google to list products for free, run paid ads, and track performance straight from your store dashboard.
https://woo.com/products/google-listings-and-ads/
GNU General Public License v3.0
44 stars 21 forks source link

Unsupported shortcodes in shipping settings are skipped in silence #2467

Open eason9487 opened 1 month ago

eason9487 commented 1 month ago

User story

As a user, I'd like to be acknowledged when my WooCommerce shipping settings can't be fully synced to Google Merchant Center.

Context

If a shipping rate contains shortcode(s), then it will be directly omitted from the synchronization without the user's knowledge.

Supported shortcodes:

image

How to reproduce the problem

  1. Go to WooCommerce > Settings > Shipping > Shipping zones and set up a zone with shortcodes. image
  2. Go to edit free listings.
  3. Add the above configured zone to the Audience setting.
  4. Save changes.
  5. Wait a moment for the settings to sync to Google Merchant Center.
  6. Go to Google Merchant Center and navigate to Shipping and returns page. The above configured zone (country) is not shown.

Technical