• Resolved gyanarthi

    (@gyanarthi)


    I use Octolize table rate for my shipping based on class. (I may have set the shipping settings wrong in my first attempt.)
    anyhow, I contacted google help.
    A google rep recommended that I use shipping_label for grouping products together and to assign each a shipping-rate. I dont see how to do this in the plug-in. When I click “EDIT” in the feed, it takes me to product page, google listings and ads… how to proceed? Or do I need to reset shipping in settings?? I’m lost….
    Reps recommendations:
    “For example, each item with a single shipping_label value:
    BOOK, RECORD, CARD, COLLECTIBLE
    Then, for each matching category of item, set the appropriate shipping-rate:
    e.g.
    $5 shipping-rate : for the shipping_label BOOK;
    $6 shipping-rate : for the shipping_label RECORD;
    $3 shipping-rate : for the shipping_label CARD;
    $5 shipping-rate : for the shipping_label COLLECTIBLE “

    any help most appreciated…
    thanks,

    bennett Shipping – gyanarthibooks.com


Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @gyanarthi,

    It seems like you’re trying to set up shipping rates for different product categories using the Octolize table rate plugin in combination with Google’s shipping_label attribute.

    To achieve this, you’ll need to create different shipping classes in WooCommerce for each of your product categories (BOOK, RECORD, CARD, COLLECTIBLE).

    Here’s how to do it:

    1. Go to WooCommerce > Settings > Shipping > Shipping classes.
    2. Click ‘Add shipping class’ and create classes for each category.
    3. Assign these shipping classes to your products.
    4. In the Octolize plugin, set the shipping rates according to the shipping classes you’ve created.

    This way, you can assign different shipping rates for different product categories.

    I hope this helps.

    Thread Starter gyanarthi

    (@gyanarthi)

    ckadenge (woo-hc)
    It is already set up that way… in woocommerce…
    my question is how to get this onto google merchant… the rep suggested using the “shipping_label attribute” and I dont know how to do that.

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hello again @gyanarthi,

    I understand you are having trouble using the shipping_label attribute in your Google merchant. Here is a little illustration on how to use the shipping_label attribute.

    Also, you can also check this external link on how to configure Google Merchant shipping attribute.

    I hope this helps!

    Thread Starter gyanarthi

    (@gyanarthi)

    I’m using the Google Listings &Ads plugin… and I don;t see any option for shipping_label…. where can i find it?
    Can I do this with this plugin? Or in my merchant account?

    Saif

    (@babylon1999)

    Hello @gyanarthi,

    Our extension doesn’t support the shipping_label attribute by default, so you’ll need to add this with custom code.

    You can try something like this if you want the value to be exactly as the assigned shipping class for each product:

    add_filter( 'woocommerce_gla_product_attribute_values', 'woocommerce_gla_product_attribute_values_add_checkout_link' ,10,3 );
    
    function woocommerce_add_custom_attribute_for_shipping_label( $attributes, $wc_product, $gla_product ) {
    
          if ($wc_product) {
            $shipping_class_id = $wc_product->get_shipping_class_id();
            $shipping_class_term = get_term($shipping_class_id, 'product_shipping_class');
    
            if (!is_wp_error($shipping_class_term) && is_a($shipping_class_term, 'WP_Term')) {
                $shipping_class_name = $shipping_class_term->name;
    
            }
        }
          return [ 'shipping_label' => $shipping_class_name ];
    }
    

    Please note the snippet above is just pseudo code (not tested) so please use it at your own risk. If you need to customize it further, consider checking the?#developers?channel of the?Woo Community Slack?or hiring a?WooExpert, as custom requests are not something we can generally assist with per our?support policy.

    Let us know if you have any other questions!

    Thread Starter gyanarthi

    (@gyanarthi)

    Saif, thanks for clarifying this.., I’m not a coder so I can’t do that work around..
    *Am I stuck with the feed that came back from my submission that I can’t correct with No shipping, no product listings? Or do I start a new one?
    *Can I go back to my plugin setup and change to one fixed cost for all products? or do it from Merchant account? that will fix shipping?
    *And if I do, will I only be changing it in the ads and not my shop?
    *ALSO Does the plugin have a way to add more than one ISBN number in GTIN for items containing more than one book?
    *And for vintage items with no identifier, will selecting condition “used” suffice??
    Please bear with me, I can’t afford to hie an expert so I’ve got to work it out or just forget about google ads.
    I know its holiday time .. so I just wait to hear from you…peace… and good cheer!!

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @gyanarthi,

    Am I stuck with the feed that came back from my submission that I can’t correct with No shipping, no product listings? Or do I start a new one?

    Have you added that code snippet in your child theme’s functions.php file yet? If yes, is it still not working? In that case, you may want to consider reaching out to a developer or a WooExpert for some assistance.

    Can I go back to my plugin setup and change to one fixed cost for all products? or do it from Merchant account? that will fix shipping?

    Yes, if you are unable to use the custom code, you can consider setting up a fixed shipping cost for all your products either on your plugin setup or from your Google Merchant account.

    Direct link: https://dsh.re/1ab5f

    And if I do, will I only be changing it in the ads and not my shop?

    This changes should only affect the ads, not your WooCommerce shop.

    Does the plugin have a way to add more than one ISBN number in GTIN for items containing more than one book?

    Our plugin currently doesn’t support adding more than one ISBN number. You may have to consider using a different identifier, like the SKU, if possible.

    And for vintage items with no identifier, will selecting condition “used” suffice??

    For vintage items with no identifier, selecting the condition as “used” should suffice. Google understands that some items, particularly used or vintage ones, may not have a standard identifier.

    I understand that hiring an expert may not be feasible for you at this moment. We’re here to help you as much as we can within our support policy.

    I hope this information is helpful, and I wish you good luck with your Google Ads.

    Thread Starter gyanarthi

    (@gyanarthi)

    thanks Shameem…I believe we’re getting close.
    Your question:
    “Have you added that code snippet in your child theme’s functions.php file yet? If yes, is it still not working?”
    —-No, I didn;t have any idea what to do with it. But I have some friends who are developers with PHP and they might could do that.
    —–Does your question above give enough information for them to know where to place it?
    —-I have every product designated as one of these 4 classes (books, records, collectibles, cards) in the WP product shipping box. My flexible shipping plugin calculates subtotals for each class and total for all:
    (When /shipping class Matches any Books Search shipping
    +rule cost is 4 Additional cost is 1 Per 1 item (quantity)
    (the result is first book is $4 +1 and 1 for each additional)
    —- So is the snippet coded to give the rate for the Book as $5
    and the rest as listed in the table, as it is written now?
    —-And placing the snippet in the “theme function” will not override the
    table rate calculation in my shop?
    —-How will we know if the snippet is working if it’s just for google
    Marketplace?
    “Direct link: https://dsh.re/1ab5f” did not work… was it pointing to the place in my merchant account for fixed rate?

    OK…please bear with me here… it’s been a long trip for me to get this far… and I’d prefer for google Merchant to present the shipping prices I have in my shop if at all possible.
    bennett

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hello @gyanarthi,

    To clarify, the code snippet provided is to be placed in your child theme’s functions.php file. Your developer friends should be familiar with this process. This snippet is designed to pull the shipping class name of each product and use it as the shipping_label attribute value in the feed sent to Google Merchant Center.

    The shipping rates you mentioned (e.g., $4 + $1 for each additional book) are calculated by your Octolize plugin, not by this code snippet. The snippet only sends the shipping class name to Google Merchant Center.

    This code will not affect the shipping rates calculated by your shop. It only modifies the data sent to Google Merchant Center.

    As for how you will know if the snippet is working, you would need to check the feed data in your Google Merchant Center account to see if the shipping_label attribute is present and correctly populated.

    I’ve attached a screenshot in my previous response, which was the direct link to that screenshot. If you are having issues accessing the direct link, here is the link without masking for you: https://ibb.co/YPGZNQZ

    I hope this helps. Please let us know if you have any other questions.

    Thread Starter gyanarthi

    (@gyanarthi)

    Hello @shameemreza…. my developer friends may not be familiar with WP… but I sent the snippet along to Octolize to be sure of no conflict…
    I got the screenshot, and remember that part of the setup.. thanks.
    * “The snippet only sends the shipping class name to Google Merchant Center.”
    —- if it only sends the class name, how does Google get the cost without accessing the Octolize rate table?
    * If the snippet doesn’t work, the woo plugin does let me into the part of setup to change to flat shipping… can I access it via my merchant account?
    Have a happy holiday
    cheers!

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @gyanarthi,

    Please note that the code snippet is not responsible for sending shipping costs to the Google Merchant Center. It only sends the shipping class name (Shipping label name). The shipping cost information is not included in the feed that the snippet sends to the Google Merchant Center. Google does not access your Octolize rate table to get the shipping cost.

    If Google Merchant Center requires shipping costs, you might need to add this information to your Google Merchant Center account manually. The cost details must be set up in the shipping settings in your Google Merchant Center account.

    Select the “My shipping settings are complex” option in the plugin to avoid the shipping rate override issue.

    If the snippet doesn’t work, the woo plugin does let me into the part of setup to change to flat shipping… can I access it via my merchant account?

    Yes, you can modify your shipping settings in your WooCommerce settings if the snippet doesn’t work. This would not be done through your Google Merchant Center account, but through your WooCommerce settings.

    I hope this clarifies your queries. Please feel free to ask if you have any other questions. Have a happy holiday!

    Thread Starter gyanarthi

    (@gyanarthi)

    OK…finally settled with the flat rate option… It worked fine… google accepted it and I’ve almost completed correcting the GTIN errors.
    It’s been a long haul here… thanks for bearing with me
    Cheers

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello gyanarthi,

    Thanks for your reply.

    We are glad to hear that you were able to resolve the issue with the flat rate option and that Google has accepted it. It’s also great to know you’re making progress with the GTIN errors.

    We understand that it has been quite the journey, and we’re sincerely happy to have been able to support you along the way.

    Should you have any more questions or require further assistance, please don’t hesitate to reach out.

    Have a great day! ??

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Feed reports all products missing shipping’ is closed to new replies.