Home Forums WoodMart support forum question about Virtual product

question about Virtual product

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #649489

    troyzhu1219
    Participant

    please look at the link:
    in my website, we provide not only physical product, but also consulting and course(courses will explorer in next 2 months.)
    https://easdom.com/consulting
    my question is : how to close the deal by woodmart, as you can see, in the page (https://easdom.com/consulting/#), I setted consulting prices based on different plan by priceing table widget. so if a client click on “book now”, how to check out? or how to add this plan to the cart if it need to add into cart? can you explain the logic for me? and how to set?
    thanks very much.

    #649754

    Hung Pham
    Keymaster

    Hi troyzhu1219,

    Thanks for reaching to us.

    You can change type of product > and add product to the plans https://ibb.co/wZVWj7Q3

    Regards,

    #650985

    troyzhu1219
    Participant

    I have set the button as “Product add to cart” as attached, but when I click on it , it doesn’t active.
    so , do I need to create a virtual product in the woocommerce product? so that once I click on it, the virtual product will add into the cart?

    Attachments:
    You must be logged in to view attached files.
    #651012

    Hung Pham
    Keymaster

    Hi troyzhu1219,

    To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.

    Regards,

    #651186

    troyzhu1219
    Participant

    please see below:

    #651289

    Hung Pham
    Keymaster

    Hi troyzhu1219,

    Admin credential is incorrect, please check again.

    Regards,

    #652199

    troyzhu1219
    Participant

    please see below:

    #652365

    Hung Pham
    Keymaster

    Hi troyzhu1219,

    You need to select product as well https://ibb.co/LD77b4tr

    Regards,

    #652607

    troyzhu1219
    Participant

    hi , I just create the virtual product in woocommerce. and select the product in the button.
    but here is the problem:
    look at the page: https://easdom.com/consulting/
    as you can see , I have 4 product option: after I select the product into the button, the button change to “Read more”, and when I click on Read more, it will direct to the virtual product page, if I did not select the product on the button, it will show “Book Now”.
    I don’t want when my client click on the button, it direct to the product; and I want once the client click on the “Book Now”, it will direct add to the cart or go to the checkout page directly , because the clinet already decide to book now, no need to turn to the product page to “read more. ”
    please tell how to set. ?

    #652609

    troyzhu1219
    Participant

    hi , I just create the virtual product in woocommerce. and select the product in the button.
    but here is the problem:
    look at the page: https://easdom.com/consulting/
    as you can see , I have 4 product option: after I select the product into the button, the button change to “Read more”, and when I click on Read more, it will direct to the virtual product page, if I did not select the product on the button, it will show “Book Now”.
    I don’t want when my client click on the button, it direct to the product; and I want once the client click on the “Book Now”, it will direct add to the cart or go to the checkout page directly , because the clinet already decide to book now, no need to turn to the product page to “read more. ”
    please tell how to set. ?

    and I have another question about Virtual product. since I have created the virtual products for my consultation service, and the category is “consultation”. but I do not want these virtual products appear and showing in my shop, because in my shop, we sell physical products, I do not want fix the physical products and virtual products together.
    I want physical products sell in the shop, and virtual products showing in the consultation page. how to do it ?
    thanks

    #652736

    Hung Pham
    Keymaster

    Hi troyzhu1219,

    I checked your product, please make sure you added Price to product or it is not out of stock products.

    Also, there is no way to redirect product directly to cart or checkout page.

    Regards,

    #652762

    troyzhu1219
    Participant

    thanks.
    and I have another question about Virtual product. since I have created the virtual products for my consultation service, and the category is “consultation”. but I do not want these virtual products appear and showing in my shop, because in my shop, we sell physical products, I do not want fix the physical products and virtual products together.
    I want physical products sell in the shop, and virtual products showing in the consultation page. how to do it ?
    thanks

    #652938

    troyzhu1219
    Participant

    hey, anyone can reply me ? thanks.

    #652945

    Hung Pham
    Keymaster

    Hi troyzhu1219,

    You can edit the layout with Shop page with Exclude condition and select specific categories https://ibb.co/0qCKg1Q

    For consultation page, you can use Products (grids or carousel) widget to select specific categories.

    Regards,

    #652948

    troyzhu1219
    Participant

    not workable . please check below attached images.
    I add exclude condition in the shop layout.
    but when I open the shop, the consultation product still appear.
    https://easdom.com/shop/page/6

    Attachments:
    You must be logged in to view attached files.
    #653105

    Hung Pham
    Keymaster

    Hi troyzhu1219,

    Please add this code to the functions.php of the child theme:

    add_action( 'pre_get_posts', 'exclude_categories_from_shop' );
    
    function exclude_categories_from_shop( $query ) {
        if ( ! is_admin() && $query->is_main_query() && is_shop() ) {
            $tax_query = $query->get( 'tax_query' );
    
            $tax_query[] = array(
                'taxonomy' => 'product_cat',
                'field'    => 'slug', // or 'term_id'
                'terms'    => array( 'consultation' ), // change slugs
                'operator' => 'NOT IN',
            );
    
            $query->set( 'tax_query', $tax_query );
        }
    }

    Regards,

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