Okay
  Public Ticket #3407182
Product Page
Closed

Comments

  •  1
    Hamza started the conversation

    Hello!

    I want to show "where to buy list" instead of add to cart on the product page to my b2c/logged-out users and b2b customers can see the prices on the product page.

    Can you please help me out with this scenario?

    I am also attaching a screenshot so you have an idea that where I want to show "where to buy list"

    Attached files:  Screenshot_2.png

  •  2,285
    WebWizards replied

    Hi Hamza,

    With B2BKing, you can go to B2BKing -> Dynamic Rules and create a 'Non-purchasable' rule for your B2C/logged out users.

    3446016513.png


    This will help ensure that B2C and logged out users do not have a 'Add to cart' button. B2B customers will see prices normally.


    But our plugin does not have any features for "Where to buy". You would need either some custom code or some other plugin that has a feature for this. If you have a code / plugin for this, we can help you show it only for B2C users.


    Kind regards,

    Stefan

  •  1
    Hamza replied

    Thank You!

    Let me find out the plugin and get back to you

  •  1
    Hamza replied

    Hello,

    I have added a "Where to Buy" option on product page and now I want only logged-out or b2c users can see this option and all B2B users should not be able to see this. How it can be possible?

    Also, I want to hide a menu "Quick order" (Bulk order form) for B2C and logged-out users.

    PFA SS

    5519560537.png
  •  2,285
    WebWizards replied

    Hi again,

    I checked your site and I believe you can hide that for B2B users by adding this CSS to your site:

    .b2bking_b2b_user .custom-fields-wrapper {
        display: none;
    }
    

    (that CSS applies only for B2B users)


    Similarly, to hide Quick Order for B2C/Logged out, you can add this CSS:

    .b2bking_logged_out .menu-item-11167, .b2bking_b2c_user .menu-item-11167 {
        display: none;
    }
    
  •   Hamza replied privately
  •  2,285
    WebWizards replied

    To also hide that area for b2c + logged out users, you can add the following CSS:

    .b2bking_b2c_user .site-header-wishlist, .b2bking_b2c_user .search-form, .b2bking_b2c_user .account, .b2bking_b2c_user .cart-woocommerce, .b2bking_logged_out .site-header-wishlist, .b2bking_logged_out .search-form, .b2bking_logged_out .account, .b2bking_logged_out .cart-woocommerce{
        display:none;
    }