Support » Plugin: Visual Product Configurator for Woocommerce Lite » add to cart and vpc summit button

  • Resolved gsalasval


    Hi, the link of my page is working correctly at the moment, however for security and functionality, I need to update the versions, at the time of doing it, vpc plugin and woocommerce, modify this functionality, I have no contact with the person who made my page, to be able to solve these two problems, which are basically the following:

    1.- ┬┐how can I hide the woocomerce add cart button who show next to the Summit “build your own” button generated by your plugin, whit out hide this same button in other products.?

    It is worth mentioning that I could solve this using the following code:

    add_filter( ‘woocommerce_is_purchasable’, ‘woocommerce_hide_add_to_cart_button’, 10, 2 );

    function woocommerce_hide_add_to_cart_button( $is_purchasable = true, $product ) {

    return ( $product->get_id() == 11 ? false : $is_purchasable );


    however the Summit “build your own” button also disappears

    2.- For the type of product I sell, I require the person to configure their purchase from 0, however the add to cart button is active and can be pressed, adding a purchase to the cart without having configured anything, Would there be a way that the button was disabled until the necessary options were selected?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ORION


    1-The ability to hide the add to cart button on the product page is part of the premium features. I suspect the way you did it will prevent the product from being added to the cart or cause troubles elsewhere. Using CSS is the best approach for this.

    2-Unfortunately we don’t have that feature at the moment because nobody requested before…

    ok thank for your quick anwser

    best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.