• Resolved arnoutvreugdenhil

    (@arnoutvreugdenhil)


    I’m encountering some issues with data from other (mainstream) plugins.
    For instance bundled products (using Woocommerce Product Bundles) show up “in stock” when their subproducts aren’t. And Mix and match product prices result in zeroes.

    I’d be able to workaround those issues but there don’t seem to be any actions or filters in this plugin to latch onto.

    Could you maybe advise about the right course of action?
    I understand this is not necessarily a problem with Product Feed Pro but it’s kind of useless this way.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi,

    Thanks for using our plugin and reaching out to us. Our plugin does, to some extend, support the official WooCommerce Product Bundles and Mix & Match plugins when you are on the latest version of our plugin. Our plugin however, indeed, does not have any hooks available.

    These ones are supported:
    https://woocommerce.com/products/woocommerce-mix-and-match-products/
    https://woocommerce.com/products/product-bundles/

    We have just tested a Mix & Match product and the price is making it to the feed just fine. See:
    https://www.dropbox.com/s/vg379x4yodjd2h2/MixMatch1.png?dl=0
    https://www.dropbox.com/s/3ip5yg9m0fqlryg/MixMatch2.png?dl=0

    Do you perhaps use a different Mix and Match plugin?

    With regards to the bundled question. The plugin will indeed used the “stock status” of the bundled product itself and not look at the subproducts stock status. Unfortunately this is not something we can change.

    Thread Starter arnoutvreugdenhil

    (@arnoutvreugdenhil)

    Thanks for your answer!

    Those are the plugins I’m using. I’ve installed some minor updates and tested again.

    Mix n match has another way of working, in which you enter a discount percentage, and the actual price is made up from the selected products. De shop displays the lowest possible price based on the minimal amount of the cheapest product. In that case the export contains zeroes.

    With product bundles the issue remains the same.

    I’ll look into a way to intercept retrieval of the attributes and run the calculation anyway.

    They are pretty crippling incompatibilities though. It seems like Product Feed Pro retrieves the values in a more direct way that circumvents the usual actions/filters.

    When I set up a Mix and Match price the way you describe I get this:
    https://www.dropbox.com/s/sailmdu6tgyeqoc/MixMatch.png?dl=0
    So it shows a price of EUR 0 on the website itself and in the feed itself too. Seems like this is normal WooCommerce behaviour? Have you set-up your Mix & Match product any differently? If so, please share a screenshot(s) with us.

    Thread Starter arnoutvreugdenhil

    (@arnoutvreugdenhil)

    The minimum container size probably does the trick.

    https://snipboard.io/EG7aA8.jpg
    https://snipboard.io/qGas4C.jpg

    I used your settings and for us it makes no difference:
    https://www.dropbox.com/s/3rkceyn3riom9jl/MatchMix3.png?dl=0

    Are you sure you haven’t set an individual price for the mix and match product itself?

    Thread Starter arnoutvreugdenhil

    (@arnoutvreugdenhil)

    Sorry, but your second screenshot actually does show a from-price now…

    EUR 324, regular price EUR 360.

    How does that turn up in your export?

    It grabs the “Total 0,00” and puts that in the feed.

    We have already did some research if there are some hooks or code that we can use to grab the other mix & match price that shows on top of the screen but have not been able to find it yet.

    Thread Starter arnoutvreugdenhil

    (@arnoutvreugdenhil)

    Sorry for the slow answers, I’m double checking everything I’m claiming.

    I found something new.
    Here’s the thing with PFP and per-product priced mix m match products:

    – price and regular price are always zero – like in the database
    – mnm_max_regular_price and mnm_max_price return the MAX prices of these products.
    – mnm_base_* return the base prices, if set
    – There seems to be no way to get the minimum price.

    These are the available fields:
    https://snipboard.io/IYjeig.jpg

    These normally return the MINIMUM prices programmatically:

    $product->get_mnm_regular_price();
    $product->get_mnm_price();

    And the maximum like this:

    $product->get_mnm_regular_price('max');
    $product->get_mnm_price('max');

    It looks like the min fields are simply missing in PFP.

    A different question is what a feed reader would make of all those different price fields that might contain the right price.

    In the case of bundles products stock status:
    There’s a field that contains the right value!
    wc_pb_bundled_items_stock_status

    • This reply was modified 5 years, 1 month ago by arnoutvreugdenhil. Reason: found it!
    • This reply was modified 5 years, 1 month ago by arnoutvreugdenhil. Reason: added screenshot

    We have just added support for the minimum and maximum prices for Mix and Match products. Just upgrade the plugin to the latest version.

    You will be able to find these attributes in the drop downs:
    https://www.dropbox.com/s/5rfb9ha1rey7ymv/MM-attributes.png?dl=0

    When you leave the normal field mapping in place you can use this rule to get the g:price field filled: https://www.dropbox.com/s/0uyoajfwykjmc32/MM-rule.png?dl=0

    Hope this helps?

    Thread Starter arnoutvreugdenhil

    (@arnoutvreugdenhil)

    That’s perfect! Thanks!

    Assuming the issue at hand is sorted and/or our support is no longer required I will close this topic for housekeeping reasons now.

    Don’t hesitate to reach out to us again whenever you need our help.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Add fields to fix compatibility issues’ is closed to new replies.