Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Restricting coupons to a group of products

Restricting coupons to a group of products

Locked

Started by steveorg on 5 Nov 2006, 8:45 PM · Views: 4,110

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
5 Nov 2006, 8:45 PM
#1
steveorg avatar

steveorg

New Zenner

Join Date:
Oct 2006
Location:
The Wrong Coast
Posts:
22
Plugin Contributions:
0

Restricting coupons to a group of products

I'm just getting started with Zen Cart and many things are not yet obvious to me. I'd like to be able to offer coupons for an arbitrary group of products. Is there any way to do that? Thanks.

Steve

5 Nov 2006, 10:22 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,728
Plugin Contributions:
0

Re: Restricting coupons to a group of products

Arbitrary how? As in products you chose at random?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

6 Nov 2006, 12:14 AM
#3
steveorg avatar

steveorg

New Zenner

Join Date:
Oct 2006
Location:
The Wrong Coast
Posts:
22
Plugin Contributions:
0

Re: Restricting coupons to a group of products

It might as well be random. There is criteria for choosing the products, but the criteria are not something that Zen Cart itself is in a position to evaluate. Mostly, it will be based on marketing incentives that I get from the manufacturer. I'll be using Easy Populate, so I hope to be able to flag the products in a field that gets imported by Easy Populate

6 Nov 2006, 1:29 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Restricting coupons to a group of products

1 Stick the Products in a Category together and mark that as the Category for the Product ...

2 Add miscellaneous Products as the restriction on the coupon ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Nov 2006, 1:39 AM
#5
steveorg avatar

steveorg

New Zenner

Join Date:
Oct 2006
Location:
The Wrong Coast
Posts:
22
Plugin Contributions:
0

Re: Restricting coupons to a group of products

Thanks Ajeh. Can I do that and still keep the products in their current category heirarchy? Also, could I prevent the new category from showing on the category menu?

6 Nov 2006, 4:57 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Restricting coupons to a group of products

Using linked products and then putting that category on the Discount Coupon's restriction ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Nov 2006, 8:43 PM
#7
steveorg avatar

steveorg

New Zenner

Join Date:
Oct 2006
Location:
The Wrong Coast
Posts:
22
Plugin Contributions:
0

Re: Restricting coupons to a group of products

Thanks again Linda. For the life of me I don't get the zen of linking products, so I asked how to do it by asking the question in the FAQs section.

However, I may have another approach that might work better for me. Optimally, these same products would also be the Featured Products. Unfortunately, Easy Populate doesn't support Featured Products and there doesn't seem to be a coupon restriction for Featured Products.

The solution requires treading in the land of MySQL, a place that I probably do not belong. After creating the coupon by normal means, I updated the zen_featured and zen_coupon_restrict tables to include the products. This seems to work, but I've only done a small amount of testing. Do you think that this will eventually be blown apart by landmines, or is this a workable solution?

Steve

6 Nov 2006, 9:01 PM
#8
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,728
Plugin Contributions:
0

Re: Restricting coupons to a group of products

What is it about Linking that you don't understand?

Linked products are single items that reside in multiple categories.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

6 Nov 2006, 9:09 PM
#9
steveorg avatar

steveorg

New Zenner

Join Date:
Oct 2006
Location:
The Wrong Coast
Posts:
22
Plugin Contributions:
0

Re: Restricting coupons to a group of products

The part that I don't get is how to create the link. In the sample install, I can see how products are linked. However, for unlinked products, that area is greyed out.

6 Nov 2006, 10:30 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Restricting coupons to a group of products

Admin->Catalog->Categories/Products

  • find your product
  • click on the "c" in the button-bar on the right-hand end of that row
  • choose the category you want to link it to
  • choose "Link" instead of "duplicate", and submit

Now you'll have "one" product that resides in multiple categories. The master will be the first category you assigned it to, unless you change the master by manually editing the product and changing the master-categories-id via the pulldown above the product-name and available-date.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Nov 2006, 11:53 PM
#11
steveorg avatar

steveorg

New Zenner

Join Date:
Oct 2006
Location:
The Wrong Coast
Posts:
22
Plugin Contributions:
0

Re: Restricting coupons to a group of products

Thanks Dr. Byte, that works. Unfortunately, this still doesn't seem to help achieve my goal of offering coupons on an arbitrary set of products and updating via Easy Populate. That's because it appears that linked products are not supported by Easy Populate. (I may confirm that in the EP support thread).

In any case, I kind of like my solution which I added a few posts ago: > However, I may have another approach that might work better for me. Optimally, these same products would also be the Featured Products. Unfortunately, Easy Populate doesn't support Featured Products and there doesn't seem to be a coupon restriction for Featured Products.

The solution requires treading in the land of MySQL, a place that I probably do not belong. After creating the coupon by normal means, I updated the zen_featured and zen_coupon_restrict tables to include the products. This seems to work, but I've only done a small amount of testing. Do you think that this will eventually be blown apart by landmines, or is this a workable solution? Does this seem viable?

6 Nov 2006, 11:56 PM
#12
ajeh avatar

ajeh

Oba-san

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

Re: Restricting coupons to a group of products

What I like using is the Multiple Categories Link Manager ...

When you hit the C for Copy, down near the bottom you will see the button to it ...

What this allows you to do is search via Category and Product to see the existing Category or Categories that a Product belongs to ...

One, is the Master Category ( master_categories_id ) ... which is designated by the Yellow icon vs the checkbox ...

Providing a Category has at least 1 Product in it ... it will show on this page ...

Now you can just check the boxes to link the Product to multiple Categories and hit Update ... then find your next Product to manage ...

It is a handy to use feature when trying to Link Products ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

7 Nov 2006, 12:02 AM
#13
steveorg avatar

steveorg

New Zenner

Join Date:
Oct 2006
Location:
The Wrong Coast
Posts:
22
Plugin Contributions:
0

Re: Restricting coupons to a group of products

That is convenient and reasonably quick, but still tedious for the volumes that I'll have to update. I'll often have to link 100-300 products and delink a like quantity. Also, missing any delinks could prove costly.

15 Dec 2006, 12:20 AM
#14
vivaraquel avatar

vivaraquel

Zen Follower

Join Date:
Sep 2004
Location:
Australia
Posts:
305
Plugin Contributions:
0

Re: Restricting coupons to a group of products

I have linked products. I now want to delink a productbut cannot figure hpw to do it. I've moved it from CLEARANCE cat to the BEADS cat where it was linked to. So now I want to remove the link of it to the CLEARANCE cat. I've gone to the'C' and looked to see f I can undo what I did to link it but I can't take the radio button off the link ... option.

I'm sure it's something simple and I'm sure i'm gonna feel like a geek when someone tells me but ... such is life.

Thank you.

15 Dec 2006, 12:25 AM
#15
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,728
Plugin Contributions:
0

Re: Restricting coupons to a group of products

Read Ajeh's post above again.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

15 Dec 2006, 12:28 AM
#16
vivaraquel avatar

vivaraquel

Zen Follower

Join Date:
Sep 2004
Location:
Australia
Posts:
305
Plugin Contributions:
0

Re: Restricting coupons to a group of products

LOL, told ya I'd feel like a geek.

Thank you.