Zen Cart Logo
Forums / General Questions / Discount Coupons - problem solved but clarification needed?

Discount Coupons - problem solved but clarification needed?

Views: 547

Results 1 to 8 of 8
12 Jun 2015, 5:03 AM
#1
snowy100 avatar

snowy100

New Zenner

Join Date:
Jun 2015
Posts:
4
Plugin Contributions:
0

Discount Coupons - problem solved but clarification needed?

I have been having an issue with discount coupons not working properly on my Client's installation - I think I have found the answer but a bit of clarification would be greatly appreciated!
I have put this down to my Client using an import tool to upload products to the site, and I eventually figured that this was not populating the categories_master_id field - they were all set to 0.
I have written a small SQL update routine that my Client now runs through the SQL patches utility to update this field to the categories_id value after their upload.
This seems to work fine - is this an appropriate approach?

Thank you

12 Jun 2015, 5:31 AM
#2
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: Discount Coupons - problem solved but clarification needed?

Hmmm, is this a one time fix or something she will use a lot? How many master categories does she have? What tool is she using to import the data? What version of zen Art?

Linda

12 Jun 2015, 1:17 PM
#3
snowy100 avatar

snowy100

New Zenner

Join Date:
Jun 2015
Posts:
4
Plugin Contributions:
0

Re: Discount Coupons - problem solved but clarification needed?

Thanks for the reply.

This will be used a couple of times a week, and they have a total of about 10 top level categories containing a total between them of about 80 categories at second level.
(They use an importer called Web Datalink {http://www.datalinkuk.com/) to import their products from Sage Accounts into Zencart 1.5.1

14 Jun 2015, 12:22 PM
#4
snowy100 avatar

snowy100

New Zenner

Join Date:
Jun 2015
Posts:
4
Plugin Contributions:
0

Re: Discount Coupons - problem solved but clarification needed?

Hello - any answers anybody?
All I am really asking for is a bit of confirmation that the master_categories_id needs to be populated for the Discount Coupon to work as expected - this field being the value that the coupon recognises.

Thanks

14 Jun 2015, 12:58 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Discount Coupons - problem solved but clarification needed?

The master_categories_id is used by many things, the Discount Coupons included, and should always be filled in to work properly on your site ...

14 Jun 2015, 2:51 PM
#6
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: Discount Coupons - problem solved but clarification needed?

I'm sorry I didn't get back to you, glad that you got your answer.

14 Jun 2015, 3:17 PM
#7
snowy100 avatar

snowy100

New Zenner

Join Date:
Jun 2015
Posts:
4
Plugin Contributions:
0

Re: Discount Coupons - problem solved but clarification needed?

Thanks everyone - looks like this is indeed a fix when you use a products import function that doesn't populate the master_categories_id field - this took me some time to figure out and it may be useful for anyone else with a similar issue.

14 Jun 2015, 3:18 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Discount Coupons - problem solved but clarification needed?

Do you use Linked Products on the site?