WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. tehmoonrulz
    Member
    Posted 9 months ago #

    Hello,

    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.

Reply

You must log in to post.

About this Topic