Better Together Contribution Support Thread
The Better Together Contribution is availalble at
http://www.zen-cart.com/index.php?ma...roducts_id=309
This contribution allows you to associate products for discounts when they are purchased together, in the same way that Amazon does. It is an order total module, so you will see the discount at checkout time on page 2. Because of dependancies on the latest shopping_cart.php, you *must* be running ZenCart 1.3.5 to run this module.
More information is provided at:
http://www.thatsoftwareguy.com/zenca..._together.html
Good luck,
Scott
Re: Better Together Contribution Support Thread
Is it just me, or is this coded specifically for PHP5 ?
Seems to be incompatible with PHP4 ...
Re: Better Together Contribution Support Thread
Where did it break in your PHP 4 installation? I actually tried to avoid using PHP 5 features but I'm developing on FC4 so I may have inadvertently used some.
Thanks,
Scott
Re: Better Together Contribution Support Thread
mmmm... I'll bet it's the scope resolution stuff that's giving you grief. I'll install on my PHP4 site and test tonight; shouldn't be hard to fix it for php4.
Scott
Re: Better Together Contribution Support Thread
Haven't installed it yet- but thanks for Releasing it Scott! I have a client that is interested already - will let you know if we have any problems.
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by swguy
I'll bet it's the scope resolution stuff that's giving you grief.
Yes. Probably need to build a PHP4-style constructor to set scope more compatibly ...
Re: Better Together Contribution Support Thread
D-ohhh! Serves me right for using arcane features.
OK - please check back shortly for a PHP 4 compliant version. It shouldn't be a big deal to fix it.
Scott
Re: Better Together Contribution Support Thread
Hi Scott,
Really love the concept for this mod. I tried and I get this below, but am posting it in case it might help:-
Quote:
Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/thegemtr/public_html/includes/modules/order_total/ot_better_together.php on line 17
Re: Better Together Contribution Support Thread
This is related to the point the Good Doctor raised. Sit tight - it will be fixed shortly.
Thanks,
Scott
Re: Better Together Contribution Support Thread
A new version has just been posted and should appear shortly in the downloads area. This code has been tested against PHP 4. Please let me know of any more problems.
Thanks,
Scott