• Resolved Kiril Ivanov

    (@interested)


    Hello guys,

    it seems that the custom quantity for buying on my front page is not properly adding the modified quantity in the card when the buying is happening on the home page. It basically ads only one product to the card instead of the selected number.

    It works properly in the shop catalogue, but not on the home page.

    Is there any way that you can add an option for excluding the rule “Allow to change product quantity on shop page” from the home page of the website.

    Thanks in advance!

    The page I need help with: [log in to see the link]

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

    (@interested)

    * “card” to be read as “cart

    Plugin Author moiseh

    (@moiseh)

    Hello,

    On the file “includes/class-wbu.php”, after this sentence:

            if ( !class_exists('WooCommerce') ) {
                return;
            }

    You can add:
    if (is_home()) { return; }

    Thread Starter Kiril Ivanov

    (@interested)

    I’ve tried this, but the buttons still show up on the home page. Do you plan to add such an option in the admin options in the future updates?

    Plugin Author moiseh

    (@moiseh)

    Ok, added this option in new version

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude home page from the rules’ is closed to new replies.