• Resolved casbboy

    (@casbboy)


    Trying to see if way to allow google_product_category to work per product, not per category level.

    I have my Woocommerce categories setup as collections, so sometimes a couple Google Product Categories can exist under the same collection.

    Is this possible?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author AukeJomm

    (@aukejomm)

    Hello @casbboy,

    I am not sure what you are trying to do.
    The plugin relies very much on the webshop category to tie to Google Product categories. It does not allow you to tie separate products to a Google Product Categorie.

    There could be a work-around for you to do what you like and that is to use a filter to reset the product category based on a product and set of rules.
    It will require you to write some PHP in your functions.php

    You can find an example here.
    https://gist.github.com/Auke1810/c62bb043926f539f9a99b418c06a3e6e

    Of course you would alter the $attributes[‘google_product_category’] attribute

    Thread Starter casbboy

    (@casbboy)

    Okay. I’ll take a look or maybe create a custom macro to check and use if exists.

    To give a gist, I sell bedding and have a Category that is based on the design of the product, but in that Category I have two variation products, one with Duvet Sets and one with Sheet Sets. In Google, these count as two different categories (“Duvet Set” or “Sheet Set”).

    Cheers!

    Plugin Author AukeJomm

    (@aukejomm)

    Yes, I understand your situation.
    You could set the category to a level higher so they all fit.
    Google will find out (they also have data from your webshop when the y spidered the shop) what category the products belong.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hi @casbboy,

    Where you able to solve the issue? Can we close your topic?

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hello @casbboy,

    I hope we were successful in helping you resolve your issue with our Feed Manager plugin! Since we have not heard back from you in the past 2 weeks and we don’t want to leave tickets open forever, I will now be marking this support topic as resolved. However, if we still haven’t resolved your issue please reach out to us as we would be more than happy to further assist you!

    Thanks and have a great day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Product Category by Product Parent?’ is closed to new replies.