Repository Forums Support WooCommerce Pricing Rules PRO Update after 1.1.2?

Topic Resolution: Resolved

This topic contains 5 replies, has 2 voices, and was last updated by  40invs 1 year, 10 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2121

    40invs
    Participant

    Hello, Soft79.
    Do you have any update after 1.1.2? 1.1.2 doesn’t work after last woocommerce update 🙁

    Best regards,
    Basil

    #2126

    Soft79
    Keymaster

    Current version is 1.1.3, and it should work fine with WC3.2.3. 1.1.2 had issues with variable products in combination with WC3.

    I noticed it was not available on the account page, it should be now. Please try it out (deactivate + uninstall old version, then install + activate new version). Unfortunately auto upgrade is not yet implemented. This is scheduled for version 1.2.0

    If after upgrade it’s still not working, please tell me what issue are you having?

    #2127

    40invs
    Participant

    Hi there.
    Thank you for your reply. I found it, will try..

    Best regards,
    Basil

    #2128

    40invs
    Participant

    It works, thank you! If you could to give me advice, please. How can I show the price table below the product picture? It will be great if you add this function to settings in future, for example “Show table beside product image” or “Show table below product image”! Thank you in advance!

    Best regards,
    Basil

    #2129

    Soft79
    Keymaster

    Yeah, maybe I will.

    For now, use this snippet in functions.php of your child theme:

    remove_action('woocommerce_single_product_summary',  array( SOFT79_WC_Pricing_Rules_Plugin(), 'action_woocommerce_single_product_summary'), 11 ); 
    
    add_action('woocommerce_product_thumbnails',  array( SOFT79_WC_Pricing_Rules_Plugin(), 'action_woocommerce_single_product_summary'), 25 ); //see woocommerce/includes/wc-template-hooks.php
    #2130

    40invs
    Participant

    Thank you very much!
    Look at this, it is perfect! https://addwing.ru/shop/blouse-sahara/
    I little bit changed your code (it works for me):

    add_action( ‘init’, function() {
    if ( class_exists( ‘SOFT79_WC_Pricing_Rules_Plugin’ ) ) {
    remove_action(‘woocommerce_single_product_summary’, array( SOFT79_WC_Pricing_Rules_Plugin(), ‘action_woocommerce_single_product_summary’), 11 );

    add_action(‘woocommerce_before_single_product_summary’, array( SOFT79_WC_Pricing_Rules_Plugin(), ‘action_woocommerce_single_product_summary’), 30 ); //see woocommerce/includes/wc-template-hooks.php
    }
    }, 90 );

    Best regards,
    Basil

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.