• Resolved room7mail

    (@room7mail)


    Hi!

    Your plugin is very good for me!

    My question is as follows, let’s say there are 3 different products in the cart and each product has a different quantity.

    For example: Product 1 – 3 qty, product 2 – 4 qty, product 3 – 5 qty. If I use the [qty] shortcode, it outputs the number 12.

    And for me to calculate correctly, I need to output only the number of commodity varieties, for example [varqty]=3.

    Is it possible to implement such a thing?

    • This topic was modified 7 months, 1 week ago by room7mail.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support dhara61

    (@dhara61)

    Hi @room7mail,

    Thank you for reaching out.

    Currently, the quantity will be calculate based on the total quantity of the cart only. But, can you please share your current use case here so I can see if we can provide any workaround for you?

    Looking forward to your response.

    Regards,
    Dhara

    Thread Starter room7mail

    (@room7mail)

    Thanks for the answer!

    Each specific type of product in any quantity is sent separately, a one-time fee is paid when shipping, so it is important for me to get exactly the number of varieties of goods, and not their total number in the order for correct calculation.

    I’m just not good at php and I haven’t found a ready-made solution anywhere, your plugin is the best one on the web, thank you!

    Thread Starter room7mail

    (@room7mail)

    Good afternoon, here is my formula: ([weight]-(100*[qty]))*0,21+(81,6*[qty])

    But it only needs the number of types of products instead of the total number of pieces.

    • This reply was modified 7 months, 1 week ago by room7mail.
    • This reply was modified 7 months, 1 week ago by room7mail.
    • This reply was modified 7 months, 1 week ago by room7mail.
    Plugin Support dhara61

    (@dhara61)

    Hi @room7mail,

    Thank you for sharing the formula and your use case.

    This will be a good enhancement to our plugin and we are considering working on this. We do not have a specific timeline for this but we will surely let you know once we have worked on this.

    Thank you for your patience in advance.

    Regards,
    Dhara

    Thread Starter room7mail

    (@room7mail)

    Thank you from the bottom of my heart!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The number of different product items in the cart’ is closed to new replies.