Zen Cart Logo
Forums / Addon Order Total Modules / Better Together Contribution Support Thread

Better Together Contribution Support Thread

Views: 203,786

Results 381 to 400 of 696
20 Sep 2010, 12:18 PM
#381
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Better Together Contribution Support Thread

swguy:

Response by email.

thanks scott. i am looking into the big spender mod. still trying to figure out the coding with this one though...wish i had more time!
thanks again.

22 Sep 2010, 9:03 PM
#382
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

ok...i am this file: ot_better_together.php located here:
/public_html/includes/modules/order_total/

i am trying to add a simple discount....using scott's sample from the info page:
function setup() {
$this->add_prod_to_prod(161,162,"%", 50);
}

but i still keep getting a blank page when it comes time to checkout.

this is what i am seeing in the php file, and i know a bunch of coding examples are included, so i don't know if i need to delete anything in the php file to make the discounts work?

here is a screen shot (the highlighted part is what i am trying to add):

22 Sep 2010, 10:11 PM
#383
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

You need to REPLACE the entire setup function with what you had. You left the rest of the code in.

It should look like this:

function setup() {
$this->add_prod_to_prod(161,162,"%", 50);
}

23 Sep 2010, 12:44 AM
#384
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

ok...so the function should be the last thing in the php file:
function setup() {
$this->add_prod_to_prod(161,162,"%", 50);
}

and nothing below it? is that right?
that is what i have right now and i am still getting a blank page and HTTP 500 Internal Server Error. ???

23 Sep 2010, 9:17 AM
#385
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

I suspect you've deleted the final brace "}" which is required to close out the body of the class.

23 Sep 2010, 11:12 AM
#386
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

there is only one brace } which is on the final line after the semi-colon.
adding another screen shot...there are no words or symbols after my discount coding....these are the final 3 lines of the file:

function setup() {
$this->add_prod_to_prod(161,162,"%", 50);
}

i don't know what i am missing?? thanks for your help!

23 Sep 2010, 4:28 PM
#387
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

i just want to be sure that i am grabbing the right category and product numbers to be inserting into the function.
the numbers on the left side of each screen shot? this is what i am supposed to be using right??
if so, i am still having the same problem as mentioned above. awaiting your reply. thanks!

23 Sep 2010, 4:48 PM
#388
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

See previous response. After the setup function is a final brace that ends the class.

setup() {
.... bla bla bla
}
}

You have probably deleted the final brace.

23 Sep 2010, 4:51 PM
#389
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

ahhh! there is actually 2 braces! so i WAS missing the last one!!! i see my discounts now! THANKS! can't wait to start playing!!!

24 Sep 2010, 11:17 PM
#390
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

i am LOVING this mod!!! i have managed to do quite a bit of customizing to suit my store, but i was wondering if there was a way to change the wording "Better Together Discounts" shown in my side bar and title on the page from the Marketing Page Mod?
i am attaching 2 screen shots
thanks in advance!

25 Sep 2010, 12:23 AM
#391
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

Language strings are in

./includes/languages/english/modules/order_total/ot_better_together.php

for Better Together and

./includes/languages/english/extra_definitions/custom/bettertogether_sidebox_defines.php
./includes/languages/english/extra_definitions/custom/bettertogether_promo.php
./includes/languages/english/custom/bettertogether_promo.php

for Promo Page. Customize them as you wish!

25 Sep 2010, 1:12 PM
#392
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

ok...that's what i thought, but wasn't sure what to change, but i will play more today.

another quick question, can you confirm whether or not the Big Spender Mod will work with the Better Together Mod???

thanks! :)

25 Sep 2010, 2:02 PM
#393
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

Please note that my commercial offerings are not supported on the forum; response by email.

25 Sep 2010, 2:06 PM
#394
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

swguy:

Please note that my commercial offerings are not supported on the forum; response by email.

got your message! THANKS:)

25 Sep 2010, 6:46 PM
#395
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

swguy:

Language strings are in

./includes/languages/english/modules/order_total/ot_better_together.php

for Better Together and

./includes/languages/english/extra_definitions/custom/bettertogether_sidebox_defines.php
./includes/languages/english/extra_definitions/custom/bettertogether_promo.php
./includes/languages/english/custom/bettertogether_promo.php

for Promo Page. Customize them as you wish!

i have changed the "better together" wording in each of the files you mentioned above. but i can't seem to find the one that allows me to edit the wording on the actual promotional product page, which shows the discount (see screen shot 1).

also, i used your coding for simple cross selling, and they are not showing up on my marketing page or on the indicated products. i already changed the marketing template, so that my better together discounts show on the product page already, but i didn't know if that was the same coding needed for the cross-selling to show up too?? see screen shot2

thanks again:) i am so much enjoying this mod!! lots of possibilities. once i get this one all figured out, i have some others on my wish list!! :)

25 Sep 2010, 6:56 PM
#396
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

sorry for another post, but it wouldn't let me edit my last one.
anyway, i figured out the solution to my first issue about.

but my cross-sell items still aren't showing up?? any suggestions as to why?

25 Sep 2010, 8:55 PM
#397
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

The cross sell items don't show up on the promotional page.

They should show up on the product info page if one of the items in the cross sell linkage matches the product id you are displaying, assuming you have correctly included tpl_better_together_xsells.php as described in the documentation.

25 Sep 2010, 9:53 PM
#398
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

hmmm...i am confused now.
i am here: /public_html/includes/templates/GinghamBlue/templates
and inside that folder are these:
tpl_better_together_marketing.php
tpl_better_together_marketing_images.php
tpl_better_together_xsells.php
tpl_bettertogether_promo_default.php
tpl_product_info_display.php

i have already done the marketing customization to this file:
tpl_product_info_display.php
with this code:

<?php require($template->get_template_dir('/tpl_better_together_marketing.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_better_together_marketing.php'); ?>

am i not supposed to add my cross sell coding to the same file (as my other better together discounts): ot_better_together.php

*note, my better together discounts ARE showing up on each associated product page. but i am stumped as to how to get my cross sells to show up on those specified pages.

did that make sense?
this should be my last hurdle for this mod (i hope), so hopefully i won't need to keep bugging you!
thanks again:)

25 Sep 2010, 10:52 PM
#399
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Better Together Contribution Support Thread

Please read the instructions on installing the marketing text. All the way through. This tells you how to advertise your cross sells.

http://www.thatsoftwareguy.com/zencart_better_together.html#marketing

26 Sep 2010, 12:45 AM
#400
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: Better Together Contribution Support Thread

ok...i got it now. i was misunderstanding how the cross-selling worked. i thought it was if you looked at ONE item, it would recommend ONE other item! obviously not the case! WHEW!

but my box looks like the screen shot...the linked items aren't side by side like in your example?