Product discount is displayed for exclude group

Phoca Cart - complex e-commerce extension
User avatar
ehndrju
Phoca Member
Phoca Member
Posts: 43
Joined: 21 Apr 2021, 05:35

Product discount is displayed for exclude group

Post by ehndrju »

Hi Jan. Forgive me, it's me again.
There seems to be a problem with discounts.
example:
Product groups: p_group1, p_group2, p_group3.
Product: (attention) product1 in p_group1 and in p_group2, product2 in p_group2, product3 in p_group3.
customer groups: u_group1, u_group2.
clients: user2 in u_group2.
discounts: discount1 (20% for u_group2)
rule for discount1:
exclude p_group1 and p_group2.
module filter-> category options-> category filter-> yes (active category)
go to the menu-> p_group1 (link: mywebsite.com/p_group1) everything is ok. product1 without discount.
go to menu-> p_group2 (link: mywebsite.com/p_group2) everything is ok. product1 without discount.
Uncheck the filter: category-> p_group2 (link: mywebsite.com/p_group2/item)
all product of all categories is displayed and product1 is displayed with a discount. it misleads the client.
product 2 and product 3 are displayed without discounts because they belong to only one group.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Product discount is displayed for exclude group

Post by Jan »

Hi, what exactly do you mean with "product group"? Do you mean product category?

Because products can be set in more categories so it can happen that product X can get discount if it is set in category A but not category B (this is theoretically possible because of the different options which can be set). In such case when categories rights are used (e.g. for discount), the eshop should be set that products are only included in one category. :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
ehndrju
Phoca Member
Phoca Member
Posts: 43
Joined: 21 Apr 2021, 05:35

Re: Product discount is displayed for exclude group

Post by ehndrju »

Yes. by group I mean categories.
for example i have categories:
1) tea
2) candy
3) milk
4) sale
for some items in group 1), 2), 3) I need to assign a special price for the item, but discounts are not applied to these items.
I add this item to category 4) sale to make the buyer happy to buy a cheap item.
And all is well when the category filter is enabled.
If you turn off the category filter, then the entire product is displayed and the discount is displayed.
Now, I use the discount rule to solve the problem.
Exclude item. But this is not convenient. many of different discounts and a many of goods.
It will be good if you create a checkbox "do not apply discounts" in the product settings
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Product discount is displayed for exclude group

Post by Jan »

Hi, the problem is, that there are a lot of different rules: product discount, cart discount, voucher, group price, so adding some additional parameter to products can be very confusing for users.

If you need to set discount for specific products, you can use product discount
If you need to set cart discount for specific products, you will list them in discount options

Having an option inside the products for cart discount can be in conflict with there rules :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
ehndrju
Phoca Member
Phoca Member
Posts: 43
Joined: 21 Apr 2021, 05:35

Re: Product discount is displayed for exclude group

Post by ehndrju »

I understand Jan.
Wish from user, sometimes don't real.
But think about it future. (do not apply discounts. any. everything.)
I have a lot of wish to make this product more convenient :)
Thanks for your times!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Product discount is displayed for exclude group

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply