• Resolved jaazbeer

    (@jaazbeer)


    Hi,

    I really like the idea of your plugin, it really gives you a lot of power and flexibility. Theoretically, it would be just what I need.

    However, I have a question about one of your calculation methods (*qty). In the help, you write: ‘The calculated cost will be the result of multiplying the amount of products that matches the selection criteria by the value entered.’

    Example:
    Suppose I have 3 products with different weights
    1) 1 kg
    2) 3 kg
    3) 5 kg

    And I have 3 rules
    1) WHERE weight: min > 0, max < 3, shipping costs = 5€ * qty
    2) WHERE weight: min >= 3, max < 5, shipping costs = 10€ * qty
    3) WHERE weight: min >=5, max =< 10, shipping costs = 15€ * qty

    Products in the Cart
    1 * 1)
    1 * 2)
    1 * 3)

    What should the shipping costs be? As I understand it, they should be
    5€ * 1 + 10€ * 1 + 15€ * 1 = 30€

    However, for me, it seems that it’s always (most expensive shipping rule in the cart) * (total number of products in the cart). So, in the above case
    15€ * 3 = 45€

    Some notes:
    configurations: group by none [no grouping] ; charge all matching rules

    Can you help me out? I’d greatly appreciate it.

    Best wishes,
    Jasper

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter jaazbeer

    (@jaazbeer)

    Review is already out ??????
    Alright, I’ll wait until the release is out.

    Thanks a lot!

    Plugin Author wpcentrics

    (@wpcentrics)

    Hi Jasper!

    Just released a new version, here the release log:

    1.1.13 – 27/01/2021
    Added auto-apply coupons special action (Pro)
    Support for the plugin Uni CPO added
    Fatal error solved on PHP 8: “Unsupported operand types: string * int”
    Bug solved when MAX table fields has 0 as wildcard instead of empty value

    I would be very grateful if you could communicate with Uni CPO guys about compatibility

    Thanks in advance,
    Carles
    wp-centrics support team

    Thread Starter jaazbeer

    (@jaazbeer)

    Hi,

    Awesome. I have notified them.

    Best wishes and thank you again,
    Jasper

    Plugin Author wpcentrics

    (@wpcentrics)

    Glad to help!

    Cheers,
    Carles.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Question about *qty’ is closed to new replies.