Forums / Addon Shipping Modules / Tell a Friend free shipping Support Thread

Tell a Friend free shipping Support Thread

Started by davewest on 26 Oct 2008, 2:59 AM · Views: 11,108

Results 1 to 20 of 29
26 Oct 2008, 2:59 AM
#1
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Tell a Friend free shipping Support Thread

I up-dated the 'Tell A Friend and Shipping is Free' module.

I fixed some bugs, added admin control for editing, deleting and mailing referrals. Also added conditions so it's ether on at all times, or after one of the following,

=> cart total
<= cart total
=> weight
<= weight
=> total Items
<= total Items

I haven't installed this on a live site yet, ran on a testing server. As with any add on, please test it fully before adding to a live site

You can find it here Tell A Friend

Dave
Always forward thinking... Lost my mind!

21 Jan 2009, 12:26 PM
#2
nikki72 avatar

nikki72

New Zenner

Join Date:
Dec 2008
Posts:
97
Plugin Contributions:
0

Re: Tell a Friend free shipping Support Thread

Hello,
How can I get it to send the html template to the referred person? For accounts etc zen ends the html version of emails but for tell a friend free shipping I get text emails.. I believe since the person doesn't have an account, they have no email preference set so zen therefore send text email but I have no idea how to change this.

thanks

22 Jan 2009, 6:48 AM
#3
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Tell a Friend free shipping Support Thread

nikki72:

Hello,
How can I get it to send the html template to the referred person? For accounts etc zen ends the html version of emails but for tell a friend free shipping I get text emails.. I believe since the person doesn't have an account, they have no email preference set so zen therefore send text email but I have no idea how to change this.

thanks

If you have your email settings to use MIME HTML when sending Emails to true, then it should do both. The code is set up to use your default email settings for the store, not the user. On my tests, it sent the html with text as a backup so if the html was striped, they would still get the text message.

If the html email template is missing, then it would just send text.

Dave
Always forward thinking... Lost my mind!

22 Jan 2009, 11:14 AM
#4
evan70 avatar

evan70

New Zenner

Join Date:
Aug 2008
Posts:
13
Plugin Contributions:
0

Re: Tell a Friend free shipping Support Thread

Hi Dave ;)

Your mod is Great, but I'd like to have a more options here, not just free shipping, but ability to change free shipping with e.g. 15% disscount

For best viral marketing solution & legacy my email db's I'd like to have a ability anonymous sender option in form.

can you help me PLLLLLLLZZZZZ ??? :cheers:

evan

29 Jan 2009, 8:49 PM
#5
nikki72 avatar

nikki72

New Zenner

Join Date:
Dec 2008
Posts:
97
Plugin Contributions:
0

Re: Tell a Friend free shipping Support Thread

Well, I have come across a problem....
in my includes/templates/cherry_zen/templates//tpl_checkout_shipping_default.php on check out I my boxes do not line up with the words I do have the CATCHA version install. It works, it's just not very pretty.

here is the page http://2antioch.org/store/index.php?main_page=checkout_shipping

You'll have to create a dummy account to see the issue.
Thanks for your help so far :).

30 Jan 2009, 2:07 AM
#6
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Tell a Friend free shipping Support Thread

nikki72:

Well, I have come across a problem....
in my includes/templates/cherry_zen/templates//tpl_checkout_shipping_default.php on check out I my boxes do not line up with the words I do have the CATCHA version install. It works, it's just not very pretty.

here is the page http://2antioch.org/store/index.php?main_page=checkout_shipping

You'll have to create a dummy account to see the issue.
Thanks for your help so far :).

your site not on, so can't look. if it's just an alignment, you'll have to work with the template to adjust it... I don't have the cherry_zen so would not have a clue on that one.

The css file only has one setting, you can tweak some of it to align things to you template.

.tellAFriendContent
{
    text-align: left;
    float:left;
    vertical-align: top;
    margin: 0.05em 0em;
}
```I'll check back later to see if your site is on yet, or take a screen shot.

Dave
Always forward thinking... Lost my mind!

30 Jan 2009, 2:17 AM
#7
nikki72 avatar

nikki72

New Zenner

Join Date:
Dec 2008
Posts:
97
Plugin Contributions:
0

Re: Tell a Friend free shipping Support Thread

thanks for trying to look, my host changed some settings in the php.ini :frusty: and it broke my website. I am trying to get this issue resolved asap.

Thanks
nicole

30 Jan 2009, 4:12 AM
#8
nikki72 avatar

nikki72

New Zenner

Join Date:
Dec 2008
Posts:
97
Plugin Contributions:
0

Re: Tell a Friend free shipping Support Thread

ok got it fixed!

31 Jan 2009, 6:03 AM
#9
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Tell a Friend free shipping Support Thread

nicole

You're missing the class for it.. add the following to your stylesheet.css or place the tellafriend_shipping.css in your template css folder..

.tellAFriendContent
{
    text-align: left;
    float:left;
    vertical-align: top;
    margin: 0.05em 0em;
}
```Once this is added it all should line up.

Dave
Always forward thinking... Lost my mind!

6 Apr 2009, 2:22 AM
#10
wwiii avatar

wwiii

New Zenner

Join Date:
Mar 2009
Posts:
32
Plugin Contributions:
0

Re: Tell a Friend free shipping Support Thread

i have installed this mod but it does not show up anywhere on my site. i have done the install twice so i am sure i have done it right. i also believe i have configured correctly in admin.

i am using zc 1.3.8 with fast easy checkout and easy sign up and login mods. could these other mods be the problem? if so is there a fix? i would really like to be able to use this mod.

thx

6 Apr 2009, 4:37 AM
#11
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Tell a Friend free shipping Support Thread

wwiii:

i have installed this mod but it does not show up anywhere on my site. i have done the install twice so i am sure i have done it right. i also believe i have configured correctly in admin.

i am using zc 1.3.8 with fast easy checkout and easy sign up and login mods. could these other mods be the problem? if so is there a fix? i would really like to be able to use this mod.

thx

FEC use it's own pages and not the default tpl_checkout_shipping_default.php so tell a friend wont show up where it should. You will have to install the code into the two pages that FEC does use.

This code needs to be added..

//bof tell a friend
                if($quotes[$i]["id"] == "tellafriend")
                {
                    echo MODULE_SHIPPING_TELL_A_FRIEND_TEXT_CUSTOMER;
                    echo $tell_a_friend_email_error != "" ? "<div class='messageStackWarning'>$tell_a_friend_email_error</div>" : "";
?>
    <div class="tellAFriendContent" style="width:50%;"><strong>Email</strong></div>
    <div class="tellAFriendContent" style="width:25%;"><strong>First Name</strong></div>
    <div class="tellAFriendContent" style="width:25%;"><strong>Last Name</strong></div>
<?                    
                    for ($j = 0; $j < $quotes[$i]['email_no']; $j++)
                    {
?>
    <div class="tellAFriendContent" style="width:50%;"><?php echo zen_draw_input_field('tell_a_friend_email[]', $_SESSION["tell_a_friend_email"][$j], 'size="28"'); ?></div>
    <div class="tellAFriendContent" style="width:25%;"><?php echo zen_draw_input_field('tell_a_friend_email_f_name[]', $_SESSION["tell_a_friend_email_f_name"][$j], 'size="15"'); ?></div>
    <div class="tellAFriendContent" style="width:25%;"><?php echo zen_draw_input_field('tell_a_friend_email_l_name[]', $_SESSION["tell_a_friend_email_l_name"][$j], 'size="15"'); ?></div>
<br class="clearBoth" />
<?php
                    }        
                }
//eof tell a friend
```In tpl_checkout_split.php look for code below, about line 246 linsert a space between the two curly braces and paste the above code. Do the same with tpl_checkout_stacked.php around line 215.
  $radio_buttons++;
 }

}

Dave
Always forward thinking... Lost my mind!

6 Apr 2009, 5:03 PM
#12
wwiii avatar

wwiii

New Zenner

Join Date:
Mar 2009
Posts:
32
Plugin Contributions:
0

Re: Tell a Friend free shipping Support Thread

thx for quick rspns dave,

i kinda figured that was the issue but i am not a coder at all and have about 2 mos exp. with ZC and PHP so i would not know where to begin.

i tried inserting code as u said and still nothing. the side box where it tells u how much until u reach free shipping based on price works. but not the option to submit a referral for free shipping.

i am certain i followed ur instructions exactly and found the correct place for the code. was line 252 for 'split' file and line 221 for 'stacked' file for me. i can post if needed.

i do have a couple of other mods installed that i did not mention orig. cuz i did not think they would play a role in this. in hindsight may not have been for me to decide. my apologies if i left out important mods on first post.

installed mods:
FEC/ESL
SSU (simple seo url)
Reward Point Suite Full
Personalized My Account Link
Shopping Cart Sidebox with Checkout Button 1.0 (currently turned off)
Google Analytics and Sitemap.

again thx for ur help

7 Apr 2009, 4:19 AM
#13
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Tell a Friend free shipping Support Thread

wwiii:

i do have a couple of other mods installed that i did not mention orig. cuz i did not think they would play a role in this. in hindsight may not have been for me to decide. my apologies if i left out important mods on first post.

Sorry that didn't work for you. I don't have the FEC mod installed so I would have to create another test install and see why it's not working. I assumed that FEC used the shipping code, but did a split depending on what switches you turned on in admin.

I'm booked right now with 3 major deadlines to hit within the next two months, so my free time is short. Give me some time to run up a new test install.

The other mods you listed shouldn't be a problem. The shipping is only accessed during checkout.

Dave
Always forward thinking... Lost my mind!

7 Apr 2009, 4:31 AM
#14
wwiii avatar

wwiii

New Zenner

Join Date:
Mar 2009
Posts:
32
Plugin Contributions:
0

Re: Tell a Friend free shipping Support Thread

thx

not a big issue just liked the mod and was hoping to use it. but i understand, i can wait. i think it's a great way to help build a solid mailing list and get new customers.

i appreciate all ur efforts. i will continue to monitor this thread in hopes that u will eventually find a solution. wish i could do myself but that ain't happenin.

thx again

14 Jun 2009, 11:19 AM
#15
jazzah avatar

jazzah

Zen Follower

Join Date:
Jun 2007
Posts:
104
Plugin Contributions:
0

Re: Tell a Friend free shipping Support Thread

Hi, We have this mod installed but customers are complaining that is it misleading when it pops up with "You are elgible for free shipping" and then they go to check out and have to enter in three friends details> What file is the script in "You are eligible for free chipping" so I can amend it. I've had a look but couldn't locate it. Thanks

14 Jun 2009, 6:53 PM
#16
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Tell a Friend free shipping Support Thread

jazzah:

Hi, We have this mod installed but customers are complaining that is it misleading when it pops up with "You are elgible for free shipping" and then they go to check out and have to enter in three friends details> What file is the script in "You are eligible for free chipping" so I can amend it. I've had a look but couldn't locate it. Thanks

If your referring to the side shopping cart box then look at \includes\templates\YOUR_TEMPLATE\sideboxes\tpl_shopping_cart.php

Dave
Always forward thinking... Lost my mind!

3 Aug 2009, 7:54 PM
#17
bigjoed avatar

bigjoed

Zen Follower

Join Date:
Apr 2006
Location:
Fort Bragg, North Carolina
Posts:
152
Plugin Contributions:
0

Re: Tell a Friend free shipping Support Thread

I have installed this mod several times and can not get the mod to record the orders placed. I downloaded a fresh copy of zencart and installed it in my server using xampp. I installed a fresh copy of this mod but still can't get it to work.

Everything works as I assume it should during the checkout process but it does not record the order as shown on the picture. It does however add the email address of the referred customer.

Can anyone help me with this and tell me what am I doing wrong?

Thanks

4 Aug 2009, 3:26 AM
#18
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Tell a Friend free shipping Support Thread

bigjoed:

I have installed this mod several times and can not get the mod to record the orders placed. I downloaded a fresh copy of zencart and installed it in my server using xampp. I installed a fresh copy of this mod but still can't get it to work.

Everything works as I assume it should during the checkout process but it does not record the order as shown on the picture. It does however add the email address of the referred customer.

Can anyone help me with this and tell me what am I doing wrong?

Thanks

Depending on how you set up the mod (Modules, Shipping) in admin, it reduces or removes the cost of shipping if they add email address during checkout. A email can be auto sent or manual sent to the added email address depending on your settings.

the modified file are
/includes/modules/YOUR_TEMPLATE/checkout_process.php
/includes/modules/pages/checkout_shipping/header_php.php

The mod in it self does not record orders. it's only effect is on shipping. The mod was tested on 1.3.8a.

Dave
Always forward thinking... Lost my mind!

4 Aug 2009, 4:00 AM
#19
bigjoed avatar

bigjoed

Zen Follower

Join Date:
Apr 2006
Location:
Fort Bragg, North Carolina
Posts:
152
Plugin Contributions:
0

Re: Tell a Friend free shipping Support Thread

Never Mind. The mod apparently works fine. I went ahead and tested it on a live demo site and the order was recorded as it should. My guess is since I have not setup my mail server on localhost to work properly, the emails could not be sent and the order was not placed.

Once I tested it on a live demo site all the emails were sent out and the order was recorded.

Thanks for a great mod.

4 Aug 2009, 8:37 PM
#20
bigjoed avatar

bigjoed

Zen Follower

Join Date:
Apr 2006
Location:
Fort Bragg, North Carolina
Posts:
152
Plugin Contributions:
0

Re: Tell a Friend free shipping Support Thread

I'm trying to make this work with Fast & Easy Checkout. I followed your instructions shown on post #11 and the contribution displays the notice of Free Shipping and the email textboxes. The problem is that the emails do not get added to the database when you type them. The second issue is that if you select Tell a Friend Free Shipping but do not enter an email, the order still gets processed without any warning letting you know that you are missing something.

Do you know how to fix this? I know this is not what this mod was intended for but it would be an useful addition when combined with FEC.

Again thanks for a great mod