[Contribution] Better Together Discounting Module
Posted 26 February 2011 - 04:00 PM
Posted 21 March 2011 - 04:22 AM
(The 2.2 version is at http://addons.oscommerce.com/info/6960.)
Support thread for the Promotional Page is at
Posted 24 May 2011 - 06:30 PM
ON first load of a better together product I get the following error:
Warning: require_once(includes/languages//modules/order_total/ot_better_together.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxx/public_html/xxx/better_together_marketing.php on line 5
Fatal error: require_once() [function.require]: Failed opening required 'includes/languages//modules/order_total/ot_better_together.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/xxx/better_together_marketing.php on line 5
On refreshing the page everything is fine. I've tried it on several browsers.
What do I need to correct?
Posted 24 May 2011 - 08:51 PM
Posted 25 May 2011 - 12:12 AM
The // suggests the language has not been defined in your installation, for some reason. It should be /english/.
Posted 10 August 2011 - 07:59 PM
Great job on the module first off.
I've installed and setup the module, but I'm not getting the discount showing up on order confirmation page. I have the sort order unique as specified in the instructions, but no dice.
Posted 11 August 2011 - 05:50 AM
Posted 11 August 2011 - 03:09 PM
Actually this is a separate issue. I was able to install the module, but it still is not showing up on the order confirmation page. It does show up on the correct product info pages though. I'm going to retrace my steps and see if I missed anything, but just wanted to know if you knew of anything off hand?
Posted 11 August 2011 - 03:16 PM
...and I'm just plain silly. I was expecting the product to automatically add to the cart when the linked product was purchased. Sorry. My misunderstanding. It IS REALLY WORKING now.
Thanks for your hard work on this contrib.
Posted 21 August 2011 - 08:30 AM
this is just what I#ve been looking for - THANKS!
However, I can't get it to work. My shop runs in German, so I added the file that was meant for the english directory to the german one as well. Correct?
Or is there any other way to make sure it works in German.
I'm a novice, so please excuse my dummy-question: How do I know what number a product or category has? I tried the obvious and took the numbers the way
they are displayed - or is it something I need to check via the PHPmyAdmin? www.usfanshop.at
Please help, I need this done.
Posted 21 August 2011 - 11:26 AM
The number of a product's category is trickier. Here's the FAQ:
Q: How do I determine what the category id is?
A: In admin->catalog, single click on the category you're interested in. In the address bar of your browser, you will see something like
If you were to double click on it, you'd see something like
The category you want to use is "11".
In the same way, in the catalog you can hover over this category in the categories sidebox and see
This re-confirms that the category is "11."
Posted 10 November 2011 - 12:07 PM
Posted 21 November 2011 - 07:10 AM
I have installed Better Together on my local computer (WAMP) and it works fine, but once I add exactly the same code to the online version of my site I get this:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /..../..../public_html/includes/modules/order_total/ot_better_together.php on line 418
Can anyone help me here please? I just can't figure this out.
Posted 21 November 2011 - 01:17 PM
I tried installing Better Together 1.0.2 using the same exact code that works perfectly on a local site on another online site and there nothing at all shows up on the product_info.php page in this case. Server there is PHP Version 5.2.17 / MySQL 5.1.56 if that is important.
I also tried using the older version (1.0.1) of Better Together but same result. I'd really appreciate some help here if anyone has a clue what's happened.
Posted 23 November 2011 - 12:49 PM
Posted 19 February 2012 - 12:37 PM
This is the contribution i've been looking for. But i cant get it to show in my cart. Only in the checkout. I am using the 2.2.
Can anyone help me?
Posted 05 April 2013 - 08:56 AM
It works, but not the way I need. It adds discount for just 1 qualified item. For example, if I add 10 units with 1 linked product the discount is given only for 1 unit. If same 10 unuits are bought with 2 linked products, I get discount for 2 units.
How to make it to calculate discount for all 10 items in the order? So, if I give discount 10% for product XX if product YY is ordered, and a client orders 10*XX and 2 or 1 of YY, then he should get diiscount 10% for ALL 10 XX products, not just for 2 or 1.
Another question - is it possible to give discount for product or category if another product of specific manufacturer from specific category is bought together?
Edited by Leo2, 05 April 2013 - 08:57 AM.
Posted 05 April 2013 - 09:13 AM
You may be better off installing something like a quantity discount mod. The mod you have installed is working as it should.
You have linked product A to product B so that when they are purchased as a set, a discount applies. Buying 10 of one item and only 2 of another is not 10 full sets so the discount will not apply.
I am not a coder, so dont bother sending PMs asking for help as you wont get any.
OSC has a steep learning curve, but in general the program does work. If it doesnt work, the chances are it is something you have done.
Posted 05 April 2013 - 10:01 AM
Many of my bundled products should be not 1+1, but 1+5 or 1+10, and I need to have discount on sum, not on one item. Since the discount is calculted at checkout_confirmation step, I think is should be possible to calculate discount for subtotals, not for 1 item.
And yes, I aldready have Bundled Products contribution installed