Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support lusp

    (@lusp)

    Hi @bildnereiclick,

    Just to make sure if I got it right – do you mind the negative shipping cost affecting the product price?

    Kind regards,
    Luke

    Thread Starter bildnereiclick

    (@bildnereiclick)

    yes, e.g. 100 euros should be deducted from the shopping cart if the product is picked up by the customer

    Plugin Support lusp

    (@lusp)

    Thank you @bildnereiclick for your response and clarification. By default, our Flexible Shipping plugin allows to use the negative values which apply only to the shipping cost. It means that the negative values configured in the shipping cost calculation rules will subtract the shipping cost until it equals 0 and won’t go further affecting the price of the products in the cart.

    However, if you want the shipping cost negative values to be deducted from the cart subtotal as well, you can achieve it by using the flexible-shipping/shipping-method/allow-negative-costs filter.

    Once you add the following code to the functions.php file of your currently used theme/child-theme or apply it via Code Snippets plugin or similar one:

    add_filter( 'flexible-shipping/shipping-method/allow-negative-costs', '__return_true' );

    the negative shipping cost values will affect the cart subtotal as well.

    Kind regards,
    Luke

    As we haven’t got any replies, I’m marking this topic as resolved for now.

    Best regards

    Karolina

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘negative shipping costs or credit’ is closed to new replies.