-
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
-
Re: Better Together Contribution Support Thread
It's up. Thanks to Dr. Byte for pointing out the root cause of the problem.
Scott
-
Re: Better Together Contribution Support Thread
Hello Scott,
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?
Dimi
-
Re: Better Together Contribution Support Thread
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.
Scott
-
Re: Better Together Contribution Support Thread
Hello Scott,
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.
-
Re: Better Together Contribution Support Thread
Your live shop is also at 1.3.5?
-
Re: Better Together Contribution Support Thread
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
-
Re: Better Together Contribution Support Thread
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?
-
Re: Better Together Contribution Support Thread
Please be sure prod to prod works, and I will send you some debug code tonight so we can see what's happening.
-
Re: Better Together Contribution Support Thread
Hello Scott,
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.
-
Re: Better Together Contribution Support Thread
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
-
Re: Better Together Contribution Support Thread
Now guess what....it works after updating the Master_Category ID to be nonzero
"0"
For the people with the same issue:
I used Easy Populate to load my shop data. This caused many of my products master categories to be zero (0)
In this case, all Master_Categories have to updated to contain a non zero value.
Scott's documentation does explain in detail how to do this.
Thanks a lot Scott.
Really helpful contribution as it was missing so far.
I just realized that ZC is related to MySQL :laugh: ... I better start learn some more stuff
-
Re: Better Together Contribution Support Thread
Thanks for the update, pivey. Meanwhile, I have posted a message to the Easy Populate thread about your problem; perhaps a future version of Easy Populate will fix this.
http://www.zen-cart.com/forum/showth...614#post278614
Regards,
Scott
-
Re: Better Together Contribution Support Thread
Another suggestion has been added to the Better Together FAQ:
http://www.thatsoftwareguy.com/zenca..._together.html
If you are concerned that people don't know they might have a discount coming
when they look at their cart, try changing SUB_TITLE_SUB_TOTAL in includes/languages/english/shopping_cart.php
to something like 'Sub-Total BEFORE Discount'
This will emphasize the fact that a discount will be added at checkout time.
Good luck,
Scott
-
Re: Better Together Contribution Support Thread
Yes, this would be a solution, but customers actually need to see what they are earning in discounts. The only way to do this, is to always going forward checkout 2 steps.
Not very user friendly.
Customers should have their deduction displayed in their shopping cart.
If not substracted, at least somehow "savings from discounts" displayed always visible.
This is an essential (marketing) feature to shopping carts, should have been added in development.
-
Re: Better Together Contribution Support Thread
Easier said than done. Anyone can load items in the cart and click the shopping cart page, even before logging in. Having no idea of their address, how then would I compute the discount, which may include shipping and/or tax? What about the order in which order_total items are applied, which affects the computation of discounts such as the group discount?
If you can guarantee me certain pre-conditions, then yes, I could integrate this logic with shopping_cart.php, which draws the shopping cart page. But then who's going to port this every time shopping_cart.php changes (which is pretty much every release)?
Having said all that, of course I would be delighted to rewrite this code to your personal
specifications. Just give me a statement of work and your credit card number and I'll
have it done in no time!
Scott
-
Re: Better Together Contribution Support Thread
Hi Scott.
Quote:
..should have been added in development
means, that the shopping cart page could have been optimized to display all savings from purchases, not only your contribution ones.
I just asked myself why this possibility is not given as long customers(e.g. purchasing specials) whould be happier to have a "tatal of savings" substrarcted from their total, or at least mentioned.
I mean, it is displayed in product detail as "You save.." without taking care of additional savings (shipping/tax) at that point.
Even to customers not logged in...
So please don't take peoples comments personal.
This is not a issue concernig just me. I thing every shop owner would be glad to offer this option to his customer instead of telling him "proceed checkout and you WILL see what you pay in total.
-
Re: Better Together Contribution Support Thread
A lot of people have asked for this sort of capability. Unfortunately, the model I had of how this would work was so hideously complex that I always resisted doing it. I've worked out a more straightforward preview capability that I'm testing now. Details shortly.
Scott
-
Re: Better Together Contribution Support Thread
-
Re: Better Together Contribution Support Thread
Better Together interoperates with 1.3.6. There have been changes to the tax computation in other order total modules that I may incorporate (possibly optionally) at a later date.
Thanks,
Scott
-
Re: Better Together Contribution Support Thread
The discount preview mod is a fine option. Now it is perfect. Thanks Scott!
-
Re: Better Together Contribution Support Thread
If you are using the get_discount_info() function from 1.1 to advertise your better together discounts and you are using add_cat_to_cat(), please edit ot_better_together.php and change line 286 from $disc_link .= to $disc_link =
Do not use the dot equals assignment for creating $disc_link. So the whole else block should look like this:
Code:
else if ( ($li->flavor == CAT_TO_CAT) &&
($li->ident1 == $cat) ) {
$match = 1;
$disc_link = '<a href="'.zen_href_link(FILENAME_DEFAULT, 'cPath=' . $li->ident2).'">'. zen_get_category_name($li->ident2, $_SESSION['languages_id']).'</a>';
}
This will be fixed in the next release.
Scott
-
Re: Better Together Contribution Support Thread
Hi, Scott -
I'm putting this together on a new site, but had a quick question:
has there been a mod to this contrib to allow for a picture instead of/in addition to the text link to the other product?
"Buy this, get that for 25% off!"
is cool, but I'd like something like
"Buy this, and get http://i48.photobucket.com/albums/f2...kaner_hefe.jpg for 25% off!"
Ideas? Possible?
thanks -
-
Re: Better Together Contribution Support Thread
Certainly it's possible. PM me for a quote.
-
Re: Better Together Contribution Support Thread
Hello,
I've installed the better together module and it works just fine in most cases.
However, I've got problem in the following (real-world) tax nightmare case :
- The product and its linked product are in two different tax classes. I can add both products to the cart and get the correct discount, however if ...
- I add a third unlinked product to the cart (from a third tax class!) ...then I get a wrong discount.
I guess the discount should not be re-calculated when I add an unlinked product.
My shop displays prices with tax included, and I've set the better together module to "include taxes"=true and "re-calculate tax"=standard .
Am I missing something ?
-
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
Yannick Deltroo
Am I missing something ?
Nope. This is just an ugly problem. I wrote a pretty long explanation of some of the issues:
http://www.thatsoftwareguy.com/zenca...sales_tax.html
Try the Group Discounts module in Zencart and see if you like the tax behavior they used. It was changed in 1.3.6 to use a ratio of the prediscount to post discount prices as a multiplicand to determine a new "adjusted" tax. As mentioned on 31 Oct, if there is sufficient demand, I may fold this algorithm in as an option.
Scott
-
Better Together Now Supports 2 for 1/Buy One Get One Free
Version 1.2 has been released; there is now support for 2 for 1/Buy One, Get One Free type discounts for identical items. You may permit these discounts at the product level or the category level.
Download here: http://www.zen-cart.com/index.php?ma...roducts_id=309
Help here: http://www.thatsoftwareguy.com/zenca..._together.html
Good luck,
Scott
-
Re: Better Together Now Supports 2 for 1/Buy One Get One Free
Quote:
Originally Posted by
swguy
Multiple attempts to download result in:
Quote:
(404) File Not Found
The file you requested cannot be located on this server.
You are being redirected to our main page...
Click here if you do not wish to wait.
IP: XX.XXX.XX.XX
URL Requested: /pub/blahblahblah/better_together_1.2.zip
And no reference to v.1.2 at
http://www.thatsoftwareguy.com/zenca..._together.html
Maybe I am too early ;-)
Woody
--
UPDATE:
Waited a few minutes and reattempted. Downloaded fine. I've been intermittently observing the above errors when downloading from ZC DOwnloads area lately. Never observed such errors before. Something possibly on my client side or is it a server/host/network issue?
-
Re: Better Together Contribution Support Thread
New sample possibilities in v.1.2
Quote:
// Buy item 12, get a second one free.
// $this->add_twoforone_prod(12);
// Buy any item from category 10, get a second identical one free
// $this->add_twoforone_cat(10);
Quote:
define('TWOFER', 'Buy this item, get another just like it free!');
I like BT v.1.2. Thanks for the update Scott!
Will eventually need to add some buttons to display the BT special offers on the product pages, instead of just the BT text links. Maybe a generic button like: "Discount/Special Offer" then below the button display whatever BT text link applies to the particular discount: e.g. "Buy this item, get TestProduct 2 at 25% off". Or could get really complex and call different button images depending on the type of offer. ;-)
Also on my radar:
I'm also using qhome's Tabbed Products v3.8 mod. So just like 'Reviews', 'We Also Recommend', 'CrossSell', and "Ask A Question' it would be cool if 'Better Together' could be integrated into the Tabbed Products mod tab structure. Possibly have a separate tab for Better Together offer. Or even better put objects from 'We Also Recommend', 'CrossSell', and 'Better Together' mods all on the same tab? Just some ideas...
If using this Better Together feature creates some sales will talk shop owner into springing for the BT extension and Discount Previews extension.
First I need to roll the new 1.36 shop out and quit the continued detailing, customizing and adding features. Anyone else with the same problem ;-)
Woody
-
Re: Better Together Contribution Support Thread
Glad it's working well for you. One thing I forgot to mention in my last post is that the marketing text returned from get_discount_info() has been improved for users of add_prod_to_prod when the first and second parameters are the same (this is a buy one, get the second at a discount type of promotion). For instance, if the third and fourth parameters were "%" and 100, the previous message was
Buy this item, get a <item name> free.
The message is now
Buy this item, get a second one free.
(and if the third and fourth parameters were, say, "%" and 50, the message would be "Buy this item, get a second one at 50% off").
The message is unchanged when the first and second parameters differ.
I think this is a bit less awkward sounding.
Good luck,
Scott
-
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
Woodymon
Will eventually need to add some buttons to display the BT special offers on the product pages, instead of just the BT text links. Maybe a generic button like: "Discount/Special Offer" then below the button display whatever BT text link applies to the particular discount: e.g. "Buy this item, get TestProduct 2 at 25% off". Or could get really complex and call different button images depending on the type of offer. ;-)
Woody
You could use GD to cook up a button dynamically with the discount verbage on it. A good little project for someone. :)
Scott
-
Re: Better Together Contribution Support Thread
Hi Scott,
Finally able to initiate using this mod on a live store. I have set up so Product A displays: "buy this and receive product B at 25% off". And that works.
I wonder if there is any way to make an associated note on the Product B page, that if "you buy Product B with product A then you receive a 25% discount on product B". So buyers of both products would be made aware of the available bundle deal?
I could set up a similar discount on the product B page but then when the customer checks out they receive TWO discounts.
Hope this is clear. Any recommends on this?
2. Also I would like to setup a "buy product A and B, then you get product C free" scenario. Is that possible?
Woody
-
Re: Better Together Contribution Support Thread
(2) is unlikely, but (1) is an interesting idea. Let me noodle on this.
Thanks,
Scott
-
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
Woodymon
I could set up a similar discount on the product B page but then when the customer checks out they receive TWO discounts.
Would you please double check this? I thought I coded it in such a way as to guard against this.
(Not that this is a workable solution for the specific problem you have - it would be a terrible pain to maintain these symmetric lists of associations. I just want to be sure you're allowed to do it and don't get the astonishing result of a double discount!)
Thanks,
Scott
-
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
swguy
Would you please double check this? I thought I coded it in such a way as to guard against this.
(Not that this is a workable solution for the specific problem you have - it would be a terrible pain to maintain these symmetric lists of associations. I just want to be sure you're allowed to do it and don't get the astonishing result of a double discount!)
Thanks for the follow-up Scott,
Sorry if I was not clear. I was making a presumption that if I set-up a discount on one product and then also set-up a discount on the other product, I would receive two discounts.
So to test this I just set-up:
$this->add_prod_to_prod(A, B, "%", 25);
$this->add_prod_to_prod(B, A, "%", 25);
And I added both products to my shopping cart and checkout shows only one discount applied! Cool!
Questions:
What controls which discount would apply (say product A is $14 and product B is $12. Would the 25% discount be $3.50 or $3.00? What is the criteria for calculating the basis of the discount in this scenario? By the order the products are added to customer shopping cart?
Yes it would be great, if when setting up a discount, which directly involves two products, the bundle discount availability would be promoted on both product description pages.
And would be cool if such special could be displayed on product listing (category) pages or on the featured products page per example (since we have only few products we display all products on home page in Featured Products listing in center column).
Maybe add a red asterisk to the price (*) and a legend at the top and bottom of the listing show:
* = special bundle price available (see product page)
But I can see supporting such as above would add additional complexibility to the mod. But as Borat would say, that would be "very nice". ;-)
And yes the idea of being able to bundle more than two products together has much appeal (e.g. buy A and B get C for free).
Woody
-
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
Woodymon
Questions:
What controls which discount would apply (say product A is $14 and product B is $12. Would the 25% discount be $3.50 or $3.00? What is the criteria for calculating the basis of the discount in this scenario? By the order the products are added to customer shopping cart?
No - by the order you code them in the setup() function. But believe it or not, some clients asked me to modify this logic and apply *all* possible discounts! (The Crazy Eddies of e-commerce.)
I'm working on the "reverse" marketing logic- should be able to release this weekend. Stay tuned!
Scott
-
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
swguy
No - by the order you code them in the setup() function.
Let me clarify this answer: since Better Together 1.2, the order has been two-for-ones first, then better together linkages in the order specified in setup(). Prior to this it was just by the order specified in the setup.
Scott
-
Re: Better Together Contribution Support Thread
Better Together 1.3 was just approved for download.
Please be sure to update the marketing text on your product info page per the instructions to get the "reverse" discount upsell text (thanks to Woody for the suggestion). Please also be sure to merge any changes you made to the language file, as that was updated also.
Thanks,
Scott
-
Re: Better Together Contribution Support Thread
Hi all,
is it possible to make something like this:
by 5xA and get 1xB free
Stefan
-
Re: Better Together Contribution Support Thread
This would be custom logic. PM me for details.
Scott
-
Re: Better Together Contribution Support Thread
Yes, I would also be interested in knowing how to do it too:
Buy 5 of this product, get one free.
-
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
swguy
Better Together 1.3 was just approved for download.
Please be sure to update the marketing text on your product info page per the instructions to get the "reverse" discount upsell text (thanks to Woody for the suggestion). Please also be sure to merge any changes you made to the language file, as that was updated also.
Scott,
Thanks for the 1.3 update. Just installed on Zen Cart 1.37 and works great. The ability to display the "reverse" discount on the 'other' product is very nice.
Still would like to be able to set up the following scenarios:
Buy product A and product B then get 50% off product C.
-and-
Buy product A and product B then product C for free.
I'm certain this is 'custom' code so I will PM you ;-)
Thanks again for the BT 1.3 mod update. I highly highly recommended it.
Woody
-
Re: Better Together Contribution Support Thread
Glad you like it. I will give your "threeway" idea more consideration. It's a good idea - I'm just worried people will be overwhelmed by the number of permutations.
Scott
-
Re: Better Together Contribution Support Thread
Hi ,
I've installed the contrib.
prod_toprod works fine but cat_to_cat doens't.
I've read this thread completely and tried/checked all the suggested solutions but none semms to fix it with me. I am sure I am using version version 1.3.5, but I can't find a place to check this ;-) . Pleasea advise...
But still I am stuck installing this great contrib...
Regards,
viepie
Belgium
-
Re: Better Together Contribution Support Thread
Generally when people are having category problems either they're specifying a top level category for products in a subcategory, or their category numbers are bad in the database because they loaded with EasyPopulate and didn't fix their data afterwards. Take a look at the FAQ; both issues are discussed.
Scott
-
Re: Better Together Contribution Support Thread
Is it possible to use this mod with no discounts offered and just the suggested item with pic?
Thanks!!
~Renee
-
Re: Better Together Contribution Support Thread
I guess it's theoretically possible. You'd probably have to change the strings and maybe the code that produces them, because they're set up to display a discount.
Scott
-
Re: Better Together Contribution Support Thread
That doesn't sound hopeful ..lol
Is there a better one to use? I have installed upsell/cross sell and no one seems to be able to tell me how to use it as it does not show in admin. I'm at a loss but need to get this for a customer so I have to find one that will work :)
~Renee
-
Re: Better Together Contribution Support Thread
Does this work with SEO urls?
-
Re: Better Together Contribution Support Thread
Too late to edit ( man that bugs me 7 minutes :sleepy: )
SEO urls are fine. My product tpl is another story.:laugh: Has anyone found a way to include this in tabbed lite as a tab yet?
-
Re: Better Together Contribution Support Thread
Initially I installed the free Better Together mod and saw that it had potential, but I wanted to support multiple catagory levels so I purchased the Better Togetther Multi catagory contribution along with his Cart Candy, and Discount Preview mods.
What great support and fantastic mods. The first day I had them running on the site, I made new sales to new customers who were driven to my site for a specific product by the manufacturer.
This happens daily (new customers for the single item), and I have been struggling to convert these customers into buying other products.
I installed these mods, and immediately had additional product sales that I tracked directly to these mods.
Thank you so much Scott. These modes are fantastic. Keep up the good work.
-
Re: Better Together Contribution Support Thread
Excellent! I"m glad to hear my mods are helping you make more money.
Scott
-
Re: Better Together Contribution Support Thread
Everytime I goto install from the admin / modules / order total I get this
"Fatal error: Cannot instantiate non-existent class: ot_better_together in /home/chelsea/public_html/store/admin/modules.php on line 82"
Can someone please help.
-
Re: Better Together Contribution Support Thread
Sounds like some of the files got damaged when you installed. Download it again, and follow the README.
-
Re: Better Together Contribution Support Thread
OK I have read this whole thread twice really slowly so I didn't miss anything and the instructions as well, I am a total duhh head right now, I am so sorry, so here is what I have done - backed up - downloaded the contribution - installed it - changed the file tpl_product_info_display.php with the suggested code and put it in my <custom> folder. I also put the ot_better_together.php in my custom folder.
Now what do I do??? Where can I actually go into to link which product the customer has to buy and which they can get free???Do I go in my Admin> ?Or is it done thru something else???
Once again I am so sorry to sound so dumb I am really not I have learned a lot and I usually find my answers in the help forums which a lot of people don't they jump right into making a new thread (hence a lof of the same questions) so it takes a lot for me to actually ask - but I am totally drawing a blank on this one.
Thanks so much
Claudia
-
Re: Better Together Contribution Support Thread
This contribution is a lot more work to configure than the average contribution, so don't feel dumb. But you really do have to read all the instructions.
Go back to the Readme file in the contribution, and start with the Detailed Description.
There are several types of calls you may chose from depending on your discounting
strategy. You will have to put these calls into the setup() function.
Many examples are provided in this file. Even more examples are provided on my home page.
Start with (in the setup function())
$this->add_prod_to_prod(2,5,"%", 50);
This gives you 50% off product 5 if you buy product 2. Try it out. And go from there.
Scott
-
Re: Better Together Contribution Support Thread
Thanks I kind of feared that one ... I am so hesitant to change anything because I don't know much about adding what where but I will take another look.
Thanks for the quick and patient answer ;)
-
Re: Better Together Contribution Support Thread
OK so I just did what you said .. and I think I understand now - basically everytime I want to change the product over I need to re-do the code in the ot_better_together.php the way I see it - and then it will kick in automatically in the store is that right???
Its not like an attribute that I can just link with a product??!!! Just making sure I am not going completely nuts here HAHAHA
Edited to say I answered this one myself - I see it now It works Thank you very much!!!!!!!!!!! Lot of work but I think worth it for sales :) THANKS!!!!!!!!!
-
Re: Better Together Contribution Support Thread
Ughh one more quick question I read thru this again and saw that you sent someone a quote for inserting a pictures is that something that is custom done?
Thanks
-
Re: Better Together Contribution Support Thread
-
Re: Better Together Contribution Support Thread
One last question is there any way to make the font a little bit bigger - I changed all font options in my stylesheet but none of them did what I wanted.
Thanks :)
-
Re: Better Together Contribution Support Thread
Can someone share a URL of Better Together in action? Preferably a direct link to a page with related items?
Thanks!
-
Re: Better Together Contribution Support Thread
http://www.thegemtree.com/index.php?...oducts_id=1435
Here you go. At the moment, the text for it is small in comparison, not sure how to make it larger. I think it is a great mod.
Cheers
-
Re: Better Together Contribution Support Thread
HM: the id for the cross sell text is discountPolicy (and discountPolicyReverse if you're using the reverse logic as well). So you can style this any way you wish.
Scott
-
Re: Better Together Contribution Support Thread
I am running the contrib as well.
You can find it here.
http://www.izadra.com/index.php?main...products_id=64
I would like to say that this mod really is great, and the support from the author has been superb in my experience.
-
Re: Better Together Contribution Support Thread
Kind words - thank you.
Something to look forward to: sometime in the second quarter I'm going to deliver a Better Together sidebox to help shopowners make their Better Together discounts more visible. I think you'll like it. :)
Scott
-
Re: Better Together Contribution Support Thread
Scott,
Great mod, thanks.
Just wondering if it is possible to do,
Buy A and B and get 50% off C
ie a bundle of products together to get a price.
-
Re: Better Together Contribution Support Thread
-
Re: Better Together Contribution Support Thread
This could be exactly what I'm looking for - I've read the readme and can't figure out how to achieve this:
-> buy something from category 1, and something from category, get x% discount on both purchases (whether they are single quantities or multiple).
Thanks in advance for any assistance, hopefully I'm not missing something obvious :)
-
Re: Better Together Contribution Support Thread
Better Together only discounts the latter item.
-
Re: Better Together Contribution Support Thread
Hi there
i have installed and appears to be working at checkout but the marketing code is not displaying any text on the product pages. I have added this code exactly to the tpl_product_info_display.php page: <?php
$value = "ot_better_together.php";
include_once(zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] .
'/modules/order_total/', $value, 'false'));
include_once(DIR_WS_MODULES . "order_total/" . $value);
$discount = new ot_better_together();
echo '<div class="content" id="discountPolicy">';
$resp = $discount->get_discount_info($_GET['products_id'], $current_category_id);
for ($i=0, $n=count($resp); $i<$n; $i++) {
echo $resp[$i] . "<br />";
}
echo '</div>';
// "reverse" discount logic - new in Better Together 1.3
echo '<div class="content" id="discountPolicyReverse">';
$resp = $discount->get_reverse_discount_info($_GET['products_id'], $current_category_id);
for ($i=0, $n=count($resp); $i<$n; $i++) {
echo $resp[$i] . "<br />";
}
echo '<br /></div>';
echo '<br class="clearBoth" />';
?>
.....
Not seeing anything on product pages. Any idea where I can start to troubleshoot this?
Thanks in advance
-
Re: Better Together Contribution Support Thread
You might have this code within an if block that's not being triggered. Try moving this block of code around. Right after
$discount = new ot_better_together();
do something like
echo "Hello world!";
to see if this block is being reached.
-
Re: Better Together Contribution Support Thread
Oddly enough tpl_product_info_display.php page is not the page that is being called. I renamed it and the product description still showed. So now I have to figure out which page is being used to create the product description pages!
-
Re: Better Together Contribution Support Thread
Are you in the right template directory? Check your template in Admin->Tools and be sure you're in that directory.
-
Re: Better Together Contribution Support Thread
Better Together 1.4 has been released; it contains some minor improvements in the wording of marketing text for Checkout Candy users and encapsulates the marketing text which appears on the product info page in one single file so that only a one line change needs to be made to tpl_product_info.php to include it.
The README file and the extended help on my site have traditionally advised displaying the marketing text below the product description, but feel free to experiment. For instance, putting it at the very top of the page is also very eye-catching. Now that the marketing text is a one line inclusion, it should be easier to move around to try different layouts.
SoftwareGuy
-
Re: Better Together Contribution Support Thread
hi i just have a quick question. first i love this mod its awesome. but i don't want to mess around with this mod for hours if this isn't even possible for this scenario.
i want to set up my store so that everything in it is buy 2 get 1 free. This will apply to the entire store.
is this possible?
thanks alot
-
Re: Better Together Contribution Support Thread
Not with Better Together but there are other solutions; see your PM.
Scott
-
Re: Better Together Contribution Support Thread
Hi, can I configure this mod. to offer a category-wide discount (% or dollar value) and dynamically apply the discount to the lower value item. For instance:
Category 1
=======
Product A - $10.00
Product B - $20.00
Product C - $30.00
Scenario 1: Customer bought Product A and B. Then discount is on Product A.
Scenario 2: Customer bought Product C and B. Then discount is on Product B.
TIA.
-
Re: Better Together Contribution Support Thread
The discounts are applied in the order you specify them, against the products in the order they appear in the cart.
-
Re: Better Together Contribution Support Thread
Hi,
I have a question and sugestion. I have installed your module as I found it very very interesting. CONGRATULATIONS. But just one concern at least for me.
You know that some of as uses Discount Groups, and others like my self that uses the Discount Pert Itemes Per Group prices. The problem is that a 2x1 or what ever offer based on the listed price is good for the business, the problem is when you sell to at the same time to "final customers" "reselleres" and or "distributors". one 2x1 offer based on price list for example 10 USD is ok, but when you have a Price group for 50% off price list, for exaple "Reselleres" then with your module they will have 10USD plus 50% off - 5USD plus 2x1 - 2.5 USD per item..... Well to shot this out as i guess you may figure out what i mean. Is ther a posibility to avoid a Better together offer to some Group Price or for all of them by default?
-
Re: Better Together Contribution Support Thread
If you want to avoid double discounting, you should modify your per item per group logic to not discount items you have Better Together discounts on. You will have to ask whoever supports that code how to make that change.
-
Re: Better Together Contribution Support Thread
Ok, Thanks for the reply. I will try tofigure out how to do this. One more question. Is there a posibility to list all Better Toguether products on one list just like Specials items?
-
Re: Better Together Contribution Support Thread
Not right now. I have toyed with this idea in the past, but the trouble is, it's hard to make it relevant. If you are looking for gardening tools, you don't really care that diapers are discounted when purchased with baby food. That's why the marketing text on the product page is the promotional mechanism I have suggested - the customer has already drilled down and indicated his interest. That's the optimal upselling point.
Nevertheless, thank you for the suggestion, and I'll think on it some more.
That Software Guy
-
Re: Better Together Contribution Support Thread
I've had a change of heart on this. Look for a new optional download in late September providing this functionality. I think I'd like to keep it separate because not everyone wants it, but it definitely has value.
Scott
-
Re: Better Together Contribution Support Thread
I've been using this mod for a while and it works great. Now I've got a new set of products and want to give a gift for any purchase of a category item i.e. category to product discount.
Since this is not part of your code, I tried adding
define('CAT_TO_PROD', '4');
and made adjustments through the code, but I get an error on line 35 - something about not expecting a Boolean AND.
Here are my modified lines 33 to 38:
if ($flavor != PROD_TO_PROD &&
$flavor != PROD_TO_CAT &&
$flavor != CAT_TO_CAT) &&
$flavor != CAT_TO_PROD) {
bailout("Bad flavor " . $flavor);
}
Any ideas?
-
Re: Better Together Contribution Support Thread
This line is in error:
$flavor != CAT_TO_CAT) &&
There are also other ways to do this; see your PM.
Scott
-
Re: Better Together Contribution Support Thread
Re-reading this post, I see it's not very clear.
This line is in error
$flavor != CAT_TO_CAT) &&
because of the extraneous bracket before the logical and.
-
Re: Better Together Contribution Support Thread
If you are rusing the marketing text I have provided, you will see that the text for two for one category discounts will come out simply as "12." If you wish to provide a more detailed message :) please make the following changes:
./includes/modules/order_total/ot_better_together.php line 364
./includes/languages/english/modules/order_total/ot_better_together.php line 29
change the definition TWOFER_CAT to TWOFER_CAT_PROMO_STRING.
This bug only affects two for one category discounts.
This will be fixed in the next release.
Scott
-
Re: Better Together Contribution Support Thread
Hi,
Great mod! One question and one problem though.
1. Is it possible to make it discount the LOWER of the items in a "category to category" discount? ie; a person adds one item, worth $5 to the cart, then from the same category, an item worth $20. It's discounting the $20 item by 25%, and I'd prefer it discount the $5 one.
2. I cannot seem to get the "two for one category" discount to work. I tried this first, with no other discounts, but no-go. I then used the "category to category" discount at 100% on the second item, and it worked. Items are in category 56, which is a sub-category of category 27. I was using category 56 for the discounts.
Thanks.
-
Re: Better Together Contribution Support Thread
Re: 1 - not at this time.
Re 2 - the semantics (as implemented) of add_cat_to_cat(x) are "you get two for one on all items in category x" not "buy one item from category x, get another free". Of course, this is incredibly confusing given that the marketing text suggests the latter behavior. :( Add_cat_to_cat gives you what (I think) you want.
Thanks,
Scott
-
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
swguy
Re: 1 - not at this time.
Re 2 - the semantics (as implemented) of add_cat_to_cat(x) are "you get two for one on all items in category x" not "buy one item from category x, get another free". Of course, this is incredibly confusing given that the marketing text suggests the latter behavior. :( Add_cat_to_cat gives you what (I think) you want.
Thanks,
Scott
Hi Scott,
I think I was not clear in my explanation... I'll try again :smile:
My first attempt was with this code:
PHP Code:
// Buy any item from category 56, get a second identical one free
$this->add_twoforone_cat(56);
I could not get it to work on my cart, but I do have this working to do the same thing:
PHP Code:
$this->add_cat_to_cat(56, 56, "%", 50);
Am I missing something in the functionality? My site seems OK, but I'm just trying to figure out why I could not make the twoforone work. Got no discount on the category at all.
Thanks
Ray