-
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
-
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
-
Re: Tell a Friend free shipping Support Thread
Quote:
Originally Posted by
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.
-
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
-
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?...ckout_shipping
You'll have to create a dummy account to see the issue.
Thanks for your help so far :).
-
Re: Tell a Friend free shipping Support Thread
Quote:
Originally Posted by
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?...ckout_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.
Code:
.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.
-
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
-
Re: Tell a Friend free shipping Support Thread
-
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..
Code:
.tellAFriendContent
{
text-align: left;
float:left;
vertical-align: top;
margin: 0.05em 0em;
}
Once this is added it all should line up.
-
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
-
Re: Tell a Friend free shipping Support Thread
Quote:
Originally Posted by
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..
Code:
//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.
Code:
$radio_buttons++;
}
}
-
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
-
Re: Tell a Friend free shipping Support Thread
Quote:
Originally Posted by
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.
-
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
-
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
-
Re: Tell a Friend free shipping Support Thread
Quote:
Originally Posted by
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
-
1 Attachment(s)
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
-
Re: Tell a Friend free shipping Support Thread
Quote:
Originally Posted by
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.
-
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.
-
1 Attachment(s)
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
-
Re: Tell a Friend free shipping Support Thread
I have installed according to the directions and can not get past the shipping page. I enter in the info in the "tell a friend" and it keeps returning me to shipping.
I am getting the following error:
Quote:
PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/html/test/includes/modules/pages/checkout_shipping/header_php.php on line 194
Line 194 is:
Code:
if(mysql_num_rows($result) > 0)
I am running 1.3.9h. Would appreciate any help.
-
1 Attachment(s)
Re: Tell a Friend free shipping Support Thread
Quote:
Originally Posted by
cycochuck
I have installed according to the directions and can not get past the shipping page. I enter in the info in the "tell a friend" and it keeps returning me to shipping.
I am getting the following error:
Line 194 is:
Code:
if(mysql_num_rows($result) > 0)
I am running 1.3.9h. Would appreciate any help.
I couldn't recreate your error so far... I have planed on doing a version up date, still on my list. There was three files that if you copied them over wasn't up to 1.3.9h
I just installed with the three files edited and it work on 1.3.9h
Attachment 8516
-
Re: Tell a Friend free shipping Support Thread
Quote:
Originally Posted by
davewest
I couldn't recreate your error so far... I have planed on doing a version up date, still on my list. There was three files that if you copied them over wasn't up to 1.3.9h
I just installed with the three files edited and it work on 1.3.9h
Attachment 8516
Thanks, that did help.
I can now get to the entering payment for the order, but it errors out when finalizing. I still get the same message on the server side, on the customer side I am getting:
Quote:
1146 Table 'fla1014004183835.TABLE_FREE_SHIPPING_REFERRALS' doesn't exist
in:
[INSERT INTO TABLE_FREE_SHIPPING_REFERRALS (referral_id, language_id, referral_f_name, referral_l_name, customers_id, customers_referral, referral_to_address, referral_from_address) VALUES ('tell_referrer_id', '1', 'Some', 'One', '1', '', '
[email protected]', '
[email protected]')]
The table exists on the sql server, but as zen_free_shipping_referrals.
I'll keep looking, maybe I can figure this out.
-
Re: Tell a Friend free shipping Support Thread
Quote:
Originally Posted by
cycochuck
Thanks, that did help.
I can now get to the entering payment for the order, but it errors out when finalizing. I still get the same message on the server side, on the customer side I am getting:
The table exists on the sql server, but as zen_free_shipping_referrals.
I'll keep looking, maybe I can figure this out.
Figured it out. I forgot to send tell_a_friend_shipping_filenames.php to the server. I should know better than to work on this with a few hours sleep. Thanks for the help.
-
Re: Tell a Friend free shipping Support Thread
Any example sites so I can get a sense for how this will appear to customers? I have FEC to complicate things.
At what point does it send the emails and is there any sort of email validation?
Can you control the number of emails requested and the message displayed?
For example, "Enter 4 emails to get $2 off your shipping"
I would imagine this will get a lot of bogus email addresses but it does have good potential.
What would probably be better is if it sent emails and if and when the emailees came to the site, only then did it retro give the discount. For example, if 4 emails gives a $2 discount, then for each emailee, $0.50 would be refunded. Timing of refunds would likely be an issue.
Perhaps after 1 week, it expires, and refunds the accumulated amount, if any.
-
Re: Tell a Friend free shipping Support Thread
Quote:
Originally Posted by
split63
Any example sites so I can get a sense for how this will appear to customers? I have FEC to complicate things.
At what point does it send the emails and is there any sort of email validation?
Can you control the number of emails requested and the message displayed?
For example, "Enter 4 emails to get $2 off your shipping"
I would imagine this will get a lot of bogus email addresses but it does have good potential.
What would probably be better is if it sent emails and if and when the emailees came to the site, only then did it retro give the discount. For example, if 4 emails gives a $2 discount, then for each emailee, $0.50 would be refunded. Timing of refunds would likely be an issue.
Perhaps after 1 week, it expires, and refunds the accumulated amount, if any.
I have it set up on one site http://store.flavorwood.org
As for the options, you have set shipping charge, set handling fee, free if total is less than, free if total is greater than, free if weight is less than, free if weight is greater than, free if item count is less than, free if item count is greater than, captcha yes/no, and # of email addresses required.
The module does a good job logging the email addresses used in the DB to prevent them from being reused.
-
Re: Tell a Friend free shipping Support Thread
Thanks for the link.
It would appear that Google and PayPal express bypass the page.
Also, your shipping options present some high cost options and the "free" shipping does not mention the carrier or how long it will take. I imagine that you do get a lot of people completing the free shipping option as it is a significant savings.
For me, I want the page to appear before they get to the checkout page. That way no one can bypass it. Perhaps I can strip out the guts and move it to my shopping cart page.
-
Re: Tell a Friend free shipping Support Thread
Google does bypass, supposedly it can pull shipping rates off the cart but I could never get it to work so I had to have google calculate the rates. They just had me setup paypal for them and I forgot to change off the default auto choose cheapest rate. The things you miss when lacking sleep.
As for their shipping rates, cant do much about it. Their focus is product availability for those who can't buy it at a local store. They added a handling fee to try to keep people buying the product in stores instead of the site.
The free shipping option doesn't get used too much. Most purchases are below the free shipping threshold.
-
Re: Tell a Friend free shipping Support Thread
Hi,
Thanks for nice module. I installed this on 1.3.9h version and having following issues.
(1) When shipping page loads it select this module instead of other available methods and shows 0 shipping in order total. Customer don't have to fill email and friend name and can make order with free shipping. How I can make these field required and not have this method default select when page loads?