Give help. Get help.

  • # January 23, 2018 at 5:56 am

    I am trying to create a WooCommerce discount cart and i have almost implemented all of these steps mention in the tutorial. I am just confused in this code. Can anyone let me know.

    I have started creating a WooCommerce discount cart following the several tutorials and forums including

    I am little bit confused in this code and i need someone help here in this code.

    if ( $cw_discount > 0 ) {
    echo ‘

    ‘. __( ‘Secure’, ‘woocommerce’ ) .’ ‘
    . wc_price( $cw_discount + $woocommerce->cart->discount_cart ) .’


    Is this for the total price with the discount as well ? Can we add some percentage of discount here ?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.