Home Forums WoodMart support forum Custom shop layout based on user roles

Custom shop layout based on user roles

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

    russellj
    Participant

    I am building an ecommerce site using WoodMart, woocommerce and B2BKing. The site isn’t yet visible at a public URL.

    I would like to customize the Shop Page via layouts as follows:

    1) Choose a store layout based on the user role. We have a b2c/b2b site and I’m using B2BKing to set user roles as b2b or b2c. I have a shop layout for B2C and B2B but can’t have the store page choose a layout based on the user role.

    2) remove the Product Category links shown in the Page Title component

    3) change the Store name based on the user role in the layout. for example, for a b2c user the page title would be “Retail Store” and for a b2b customer the store title would be “Dealer Store”

    Any suggestions as to how to accomplish the above? thx.

    #549953

    Hung Pham
    Keymaster

    Hi russellj,

    Thanks for reaching to us and take our apologies for the long delay in answering due to the weekend.

    Changing would require extra customization, which is out of basic support. Thanks for understanding our limitation.

    Regards,

    #550039

    russellj
    Participant

    I understand this is beyond the scope of basic support. Can you give me any tips on how to approach these customizations myself?

    #550153

    Hung Pham
    Keymaster

    Hi russellj,

    I am unable to provide reliable recommendations as we have not officially tested such plugins. Probably, the support service of WooCommerce may be able to assist you.

    Regards,

    #550415

    russellj
    Participant

    Can you help me with customizing Woodmart in a child theme? For example, if I want to add a new condition for a layout how would I go about that? I should be able to replace /woodmart/inc/modules/layouts/admin/templates/condition.php in a child-theme but haven’t figured out how to get it to work. Simply duplicating the file in the same path in the child theme does not override the parent.

    #550674

    Hung Pham
    Keymaster

    Hi russellj,

    It’s not just duplicate file into child theme and it will works. It requires knowledge of PHP / HTML codin, which is out of basic support.

    Once again, thanks for understanding our limitation.

    Regards,

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