[Plugin: Woocommerce] Editing Cart Page (1 post)

  1. tehmoonrulz
    Posted 2 years ago #


    I am trying to add some custom text to my cart page in Woocommerce depending on the quantity. Basically only so much of my product can be used per week and I want some text to reflect that in my cart.
    For example: if a user buys 1-3 items it will say "1 week" on the cart page near the item description. If they purchase 4-6 it should say 2 weeks.

    I am comfortable with writing the PHP logic but I'm just unfamiliar with the baked in WordPress/WC plugin functions where to put my code in on cart.php and looking for some assistance.

Topic Closed

This topic has been closed to new replies.

About this Topic