Forums / Setting Up Specials and SaleMaker / Salemaker sales apply only to the master_categories_id?

Salemaker sales apply only to the master_categories_id?

Views: 5,465

Results 1 to 7 of 7
9 May 2023, 9:24 PM
#1
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Salemaker sales apply only to the master_categories_id?

I realize that the subject implementation has been around for-ev-er, but what's the reasoning here? It's quite the PITA for a site with a slew of linked products (and categories) to painfully go through those products to reset their master_categories_id to reflect the to-be-on-sale category's.

10 May 2023, 8:18 AM
#2
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: Salemaker sales apply only to the master_categories_id?

It's quite the PITA for a site with a slew of linked products (and categories) to painfully go through those products to reset their master_categories_id to reflect the to-be-on-sale category's.
I never knew of this restriction...changing master_category ids would destroy my shop setup...I even disabled it in Store Manager.
Sounds like a bug to me. If a product is on sale, it's on sale irrespective of it's category location.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

10 May 2023, 10:55 AM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Salemaker sales apply only to the master_categories_id?

If a product is on sale, it's on sale irrespective of it's category location.

Products don't go on sale. Categories do.
If a product is on special, it's on special irrespective of its category.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

10 May 2023, 7:22 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Salemaker sales apply only to the master_categories_id?

swguy:

If a product is on sale, it's on sale irrespective of it's category location.

Products don't go on sale. Categories do.
If a product is on special, it's on special irrespective of its category.
... and if a category is on sale, IMO, the sale should apply to ***all ***of its products, whether via master_categories_id or linked.

11 May 2023, 8:20 AM
#5
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: Salemaker sales apply only to the master_categories_id?

lat9:

... and if a category is on sale, IMO, the sale should apply to ***all ***of its products, whether via master_categories_id or linked.
Agreed.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

12 May 2023, 7:48 AM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Salemaker sales apply only to the master_categories_id?

Check the historical documents to which the public can not easily get to these days. I.e. way back machine or whatever. The reasoning was provided there.

lat9:

... and if a category is on sale, IMO, the sale should apply to ***all ***of its products, whether via master_categories_id or linked.

torvista:

Agreed.

And so a product could be bought from two different lists of the same site at two different prices or would the sales be cumulative by all sales applied to every category?

Category 1 has category 2, category 3, and category 4 in it.
Product 1 has a master_categories_id of 2.
Product 1 is linked to category 3.
Product 1 is linked to category 4.
Sale of 20% off on category 2.
Sale of 50% off on category 3.
If product 1 base price is 10, has no attributes, no other discount pricing like a coupon or special, then for what price is it on sale under the proposed premise? 10, 8, 5?

Under the current arrangement/programming, at every location that product 1 is shown it would be 8.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

12 May 2023, 4:47 PM
#7
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Salemaker sales apply only to the master_categories_id?

mc12345678:

Check the historical documents to which the public can not easily get to these days. I.e. way back machine or whatever. The reasoning was provided there.

And so a product could be bought from two different lists of the same site at two different prices or would the sales be cumulative by all sales applied to every category?

Category 1 has category 2, category 3, and category 4 in it.
Product 1 has a master_categories_id of 2.
Product 1 is linked to category 3.
Product 1 is linked to category 4.
Sale of 20% off on category 2.
Sale of 50% off on category 3.
If product 1 base price is 10, has no attributes, no other discount pricing like a coupon or special, then for what price is it on sale under the proposed premise? 10, 8, 5?

Under the current arrangement/programming, at every location that product 1 is shown it would be 8.
Good point, @mc12345678, I hadn't considered that.