Home Forums WoodMart support forum Override Dynamic Discounts class-frontend.php

Override Dynamic Discounts class-frontend.php

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #506718

    insideweb
    Participant

    I want to override certain parts of the Dynamic Discounts class-frontend.php file. The goal is this: https://snipboard.io/S2yXKv.jpg

    The only way I found is to edit the core files of the parent theme, but that’s obviously not the way to go.

    How can I accomplish the following?
    – Change 12-31 > from 12 pieces
    – Add per piece after the price
    – Add save before the discount percentage

    #506924

    Luke Nielsen
    Keymaster

    Hello,

    1. In order to set it just from 12 pieces, you need to define an appropriate value in the “From” field in the “Discount rules” area.

    https://prnt.sc/_Bb1c14MF4pR

    2,3. Unfortunately, there is no way to change those fields via the child theme.

    Here is our documentation on how to use the “Discounts rules”: https://xtemos.com/docs-topic/dynamic-discounts/

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)