• Hi,

    I just added the plugin woocommerce cart stock reducer (great plugin by the way). I just had two questions about potential customization to display some info.

    1. The text displayed when a product is unavailable because of a pending order appears in red and capital letters I wanted to know if it was possible to change the color and/or not have it all in capital letters.

    2. The countdown appears in all the pages while navigating on the website and I wanted to know if it was possible to only display it on the my cart page and only shows a message that says “you have 24 hours to complete your order before expiration” when adding a product to the cart.

    Many thanks for your help,

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

    (@jamesgol)

    1: The default text is not in capital letters for sure, so that is either configured by you or your theme. You should be able to use your theme CSS to modify that.

    2: Right now the only options I have for when to display the countdown is always, when items are added, or never. I think adding a cart/checkout option would be reasonable. I’ll put it on the todo list.

    If you want to modify the text, the ‘wc_csr_expire_notice’ WordPress filter can be used to modify that text. Looking at the code it looks like you would also have to have the ‘wc_csr_expire_notice_additional’ return an empty string if you don’t want the ‘There is %d item expiring sooner.’, ‘ There are %d items expiring sooner.’ text added if there is more than 1 item expiring

    Thread Starter orlaneazogui

    (@orlaneazogui)

    ok great thank you very much

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom some features’ is closed to new replies.