[Shipping] requirements – invalid format

[ad_1]

Hello,
Does CTX Feed plugin support support nested XML elements for shipping?
I ask because I am using a custom field I created, which contains the price of shipping (the reason for this custom field is the site uses the Woo Per Product Shipping plugin, and it’s custom fields don’t include price). According to Google there are more requirements than just price, like Country etc. I tried using this format US:::6.49 USD by adding it like this in the CTX Feed editor

which outputs like this in the XML feed
<g:shipping>US:::6.49 USD</g:shipping>

but according to Google, for XML feeds it has to be nested as seen below from their help page. Can you help point me in the right direction? I simply need Price and Country. Thanks!


Include the optional sub-attributes if you need them. To specify a shipping cost for different delivery locations, submit the shipping [shipping] attribute multiple times including the relevant sub-attributes for each.


<g:shipping>

  <g:country>US</g:country>

  <g:region>MA</g:region>

  <g:service>Express</g:service>

  <g:price>15.99 USD</g:price>

  <g:min_handling_time>1</g:min_handling_time>

  <g:max_handling_time>3</g:max_handling_time>

  <g:min_transit_time>2</g:min_transit_time>

  <g:max_transit_time>5</g:max_transit_time>

</g:shipping>
  • This topic was modified 13 hours, 56 minutes ago by FreshySites.
  • This topic was modified 13 hours, 11 minutes ago by FreshySites. Reason: edited for clarification of context for why I am doing it this way

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer