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.
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.
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.
Really love the concept for this mod. I tried and I get this below, but am posting it in case it might help:-
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
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.
thank you for this contrib.
add_prod_to_prod seems to work fine for me, but as soon I try to specify
add_prod_to_cat & add_cat_to_cat, it won't work.
Categories specified do not have subcategories..
I mean...it is the Cat ID I have to specify, isn't it?
Categories are the parent categories of the items, not the top level category. If you have
(as in the demo items)
categories
2 - software
19 - action
22 - unreal tournament
then the category for 22 is 19 not 2.
The other cause of this could be a pre 1.3.5 version of zencart but I see you're running
the latest.
Yes, makes sense....I use the subcategories ID's
I just noticed that it works on a testshop Install.....but it will not work on modified live shop with some contributions in it.
I will look trough the mods installed which one may cause the issue.
Yes, it is also in 1.3.5
I have tested to remove the contribs one by one, removed & added languages again...(thought might be related to multilingual issues as I have 3 languages installed)
Nothing worked...
I even tried to install the contribs I have to the testshop
Arghhhh....whatever I do, it works on "dr. Bytes" :laugh: original shop. Won't work on mine...
And it is only the PROD_CAT & CAT_CAT define. PROD_PROD works fine.
I will load my products data into the testshop and try again
Well, that is what I was afraid of...I loaded the liveshop data into the testshop
Around 180 categories, 10.000 products
No additional changes made..
It doesn't work.
Is there any totals related configuration I miss?
thank you. Yes, prod to prod is working fine.
I will PM you the URL of the shop as it is a non indexed B2B Wholesale Shop.
I will post the solution to be available to the following users with the same issue.
However, I am somehow sure that it is not related to this contribution, might be a bug in my categories index.
New caveat (will be added to documentation shortly) - if you are using the prod_to_cat or cat_to_cat features, please check the master_categories_id field in the products table, and ensure that it's the category for this product. If you manually loaded the data or did something out of the ordinary to populate your database, it might be set to 0, in which case you will need to fix it.
Scott
Moderation
Destination thread ID and reason are required when shown.
Report Post
Tell staff why this post should be reviewed.
Manage cookie preferences
Our cookie policy has been updated, so we need you to review your preferences and consent again.