• Resolved mrfr0st

    (@mrfr0st)


    Hello.

    First of all – thank you for this great plugin! I was looking for replacement of variative products, because for each product in my client’s store there are more than 15,000+ variations and there are hundreds of products. Therefore, it’s very difficult to simply fill and maintain this using the WooCommerce functionality by default. Also, all variations of the same product have the same price, but customers must fill in all the parameters of the product before adding it to the cart. So, your solution is perfect! Thanks again!

    However, I have one request. Current filters for displaying fields are not very convenient. I can’t filter products by IDs (there are too many of them and hundreds of IDs will be required for each field), and I also can’t use the category filter (in one category we have products with different options). It would be just great if your plugin could filter by the product tag. Then you could add special tags to different product groups and show there specific parameter fields for this group of products.

    I looked in the code of the plugin, and it seems to be not very difficult to add. Please, tell me, is it possible that you will realize this in the near future?

    Thank you in advance for any answer!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mrfr0st

    (@mrfr0st)

    So without waiting for an answer, I wrote the overrides for the plugin classes myself. This adds tags filter support for current plugin version, without changing the plugin code itself (update compatible). Here is the link to the archive:
    https://mega.nz/#!exdlCSIK!zvxjT8MQni_MqJEQKTbIZqCTJ28L-uMe7qUMKHa51SI

    Extract it in your theme directory. After that in your theme fucntions.php add:
    require_once ‘woo-extra-product-options/override.php’;

    Then correct path in the woo-extra-product-options/override.php at line 10 to suit your theme:
    /wp-content/themes/sterion/woo-extra-product-options/thwepof-field-editor-admin.js

    Also, in the files class-wepof-product-options-frontend.php and class-wepof-product-options-utils.pxp, replace all ‘sterion’ text-domains with the ones you need in your theme to be able to translate error messages with Loco Translate.

    It is clear that if you do everything correctly within the plug-in, then you need to change a number of functions, expanding the list of parameters and adding a list of tags to it. I decided to get by with a minimal set of edits.

    I hope this helps someone, and in the future this functionality will be included in the plug-in by default.

    • This reply was modified 6 years, 8 months ago by mrfr0st.
    Plugin Author ThemeHigh

    (@themehigh)

    Thank you for the suggestion.

    We will try to implement this in the future versions.

    Thank you!

    Thread Starter mrfr0st

    (@mrfr0st)

    That is great news, thank you!

    • This reply was modified 6 years, 8 months ago by mrfr0st.
    Plugin Author ThemeHigh

    (@themehigh)

    Great!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Tag field display rule’ is closed to new replies.