• Hi Jeremiah.

    Great plugin, works very well.

    I had a quick question about your plugin functionality. We use WPML for translating our woocommerce site to other languages. With WPML installed a product search with SKU will result in showing the same product multiple times as sku is the same for a product in different languages.

    Is there a code or filter we can add, so it only will show results in the language the search is performed from. So the product only will be listed once.

    Thank you for your time.

    Best Regards,
    Metbar

    https://wordpress.org/plugins/woocommerce-bulk-order-form/

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

    I agree – great plugin. I need the same thing as Metbar, i.e. WPML support.

    Best regards,
    Henrik

    Thread Starter metbar

    (@metbar)

    Hi Henrik,

    We sort of found a solution for this. I dont know if the solution effects other areas but it is working in our case.

    In standard_template.php we have added ‘suppress_filters’ => false , in $function bulk_order_product_search() which appearently has to do with wpml filters. It is working for us, but as I said i dont know if that makes any problems for the plugin.

    Best regards,
    Metbar.

    Plugin Contributor Jeremiah

    (@jprummer)

    Hi Metbar – thanks so much for posting this!

    Just to clarify, you’re adding that to the get_post queries?

    Thread Starter metbar

    (@metbar)

    Hi Jeremiah.

    Yes thats correct. It works here.

    .C

    (@lemonthirst)

    Tested here also, it works.
    Thanks!

    Plugin Contributor Jeremiah

    (@jprummer)

    Wow, awesome! I’ll be adding that to the next version then.

    Thread Starter metbar

    (@metbar)

    Hi Jeremiah. Glad it is working.

    I also noticed that, if we seaarch for lets say 1234 it is just showing some 20 of the last added products. Also if we search for anything else with only numbers. 123456789 or 987654321. If we add any other symbol than numbers, it will either not show anything or a match. We have a product SKU 2739, but if we search for 2739, it will again list the 20 latest products and not that product.

    Any idea what could be wrong?

    Best regards.

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

The topic ‘WPML Support’ is closed to new replies.