• Is there any way to offer a discounted price to a course apart from woocommerce sale price.

    I am creating a custom functionality to show offer products at checkout page. When you add to cart from there you will get an extra discount.

    I have tried following to set custom price,

    • $product->set_price( $price_discount );
    • At hook : woocommerce_before_calculate_totals $value[‘data’]->set_price( $price_discount );

    Is there any way to set custom price. Any help would be highly appreciated.

    Regards,
    Ashu

    • This topic was modified 4 years, 8 months ago by cedashuv.
Viewing 1 replies (of 1 total)
  • Hi,

    Unfortunately now we don’t have this feature.

    You can try using this add-on to use discount feature of Woocommerce for the course.

Viewing 1 replies (of 1 total)
  • The topic ‘Implementation of custom offer price at checkout page’ is closed to new replies.