Search found 27 matches

Search found 27 matches

Re: negate categories in coupon config

I see several other people bumping into trouble with this stuff. Here's a few threads on it: http://forum.opencart.com/viewtopic.php?f=110&t=29272 http://forum.opencart.com/viewtopic.php?f=20&t=48000 http://forum.opencart.com/viewtopic.php?f=88&t=54344 I'm sure there are more. The main issue here is...

Jump to post
  • Sun Feb 26, 2012 9:26 am
  • Replies 5
  • Views 1585
Re: negate categories in coupon config

ok, i stared at the code a while and the database schema and then slept on it. It looks like coupon codes only are applied to products and never categories. The category selector on the coupon code page only auto-fills the product list based on the category contents AT THAT TIME. so if the category ...

Jump to post
  • Fri Feb 24, 2012 11:13 pm
  • Replies 5
  • Views 1585
Re: negate categories in coupon config

Looks like the category selector control uses jquery to add appropriate products to the product list control below it. It subtracts when you uncheck the category. i wonder what logic is used to join selections when a product has multiple categories assigned to it?

Jump to post
  • Fri Feb 24, 2012 3:44 pm
  • Replies 5
  • Views 1585
negate categories in coupon config

This seems like a simple concept, so maybe it's come up before. I have a need to negate a category from being valid for a coupon code. For example, I have a category called "clearance" that has all clearanced out items and I want a coupon code to be valid for all products except the clearance catego...

Jump to post
  • Fri Feb 24, 2012 2:08 pm
  • Replies 5
  • Views 1585
Re: VQMod and database changes

Like Xsecrets said.. if possible If not possible, I usually just append the "index()" function of the current controller that I am modding and add the sql there. I try to only do this on the admin side where possible. If my mod doesn't have an admin piece, I may add it to some related area like the...

Jump to post
  • Mon Feb 20, 2012 4:33 pm
  • Replies 9
  • Views 9438
Re: how to handle schema changes?

Just saw this question posted in the concept section here:

http://forum.opencart.com/viewtopic.php?f=24&t=52759

Jump to post
  • Mon Feb 20, 2012 4:19 pm
  • Replies 1
  • Views 980
how to handle schema changes?

So, I wrote a quick vqmod extension that let's you manage a manufacturer wholesale price and manufacturer part number for products (for profit reporting and reordering purposes), but it requires 2 fields be added to the product table. What's the "official" way to do a database schema change with vqm...

Jump to post
  • Mon Feb 20, 2012 4:00 pm
  • Replies 1
  • Views 980

Search found 27 matches