Community

can we create 2 type of discount in example: There's category A : which consist product A1, A2, A3 with disc 15% and theres category B which consist product B1, B2 with disc 20%? how do you make the formula?

Comments (4)

Vipin

Jul 24, 2024

You can use the TOTALIN() function to calculate the order amount for a category. Syntax: TOTALIN("category name") Note: category name that you use in the function must exactly match the name in the category page. This parameter is case sensitive. For example: If you have added a page with "Vegetables" as the title and added products in that page, then you can use TOTALIN("Vegetables") formula to calculate the total amount for products added to cart from the vegetables category page. You can then apply a discount on specific categories based on the discount code.

There were no function TOTALIN in the option

attachment
Vipin

Jul 30, 2024

Do not use =. Just type the TOTALIN formula. For example, if the category name is Breakfast, then you can enter the formula TOTALIN("Breakfast") to calculate the amount for the products in this category.

Thank you it is solved

Add your comment