Home Forums WoodMart support forum Button Customization for Out-of-Stock Products

Button Customization for Out-of-Stock Products

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #611412

    barisayarr
    Participant

    Hello there

    I am trying to customize the look of my website. On the product archive page, I changed the “Add to Cart” button color to orange.

    My question is this:

    For out of stock products; I want it to say “Out of Stock” instead of “Read More” and I want the button color to be gray. Is this possible?

    Thank you.

    • This topic was modified 2 days, 13 hours ago by barisayarr.
    #611759

    Hung Pham
    Keymaster

    Hi barisayarr,

    Thanks for reaching to us and appreciate your patience.

    1. Out of stock translation

    In order to change / translate words. Please make sure you synced the strings first before changing / translating WooCommerce, WoodMart Core plugins and WoodMart theme. You can refer to article

    https://xtemos.com/docs-topic/theme-translation/

    2. Background color

    Please add the below Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:

    div.wd-product.wd-hover-base .wd-bottom-actions:not(.wd-add-small-btn) div.wd-add-btn>a:not(.ajax_add_to_cart,.add_to_cart_button){
        background-color: #000;
    }

    Regards,

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