Zen Cart Logo
Forums / General Questions / zen cart free charge card

zen cart free charge card

Locked

Views: 14,835

Results 1 to 20 of 31
This thread is locked. New replies are disabled.
26 Jun 2006, 9:31 PM
#1
mediathing avatar

mediathing

Zen Follower

Join Date:
Apr 2005
Location:
London
Posts:
405
Plugin Contributions:
0

zen cart free charge card

Hi,
I have performed a search for this on the forums and only found an archive post saying to search for it (go figure). It also contained a link to a post but the link is dead.

Can someone give me a brief explanation what this is and potential uses please.

Thanks
Pete

27 Jun 2006, 2:25 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: zen cart free charge card

The Zen Cart Free Charge Card Payment Module was specifically designed for sites that wish to allow for Free Products and Free Shipping where the total of the Order is $0.00 ... so you needed to have a PayMent Method that "ruled" over all other Payment Methods when the Order Total was $0.00 ...

This is the same concept of the Free Shipping (freeshipper) Shipping Module ...

There needed to be a "ruling" Shipping Module when the Shipping was $0.00 and it would in turn hide or turn off all other Shipping Modules when $0.00 Shipping Charges occured ...

The names of these Modules were made soley for my own amusement and so that they would standout and be easily found on Searches, Setup and Discussions ... :cool:

14 Oct 2006, 7:33 PM
#3
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: zen cart free charge card

so like, if i had some manuals that i was going to give away with an order, how would i set that up?
basicly, if the customer wants the manual only its free, with free shipping. however if they want the manual and another item, can they do that.. so that basicly, it will charge them for the other items, and there shipping, but wont charge them for the item which is free?

14 Oct 2006, 9:13 PM
#4
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: zen cart free charge card

wickedklown:

so like, if i had some manuals that i was going to give away with an order, how would i set that up?
basicly, if the customer wants the manual only its free, with free shipping. however if they want the manual and another item, can they do that.. so that basicly, it will charge them for the other items, and there shipping, but wont charge them for the item which is free?

in your zen cart admin area point your cursor at modules and choose shipping. on the next page choose the "FREE SHIPPING!" module. click install. change "enable free shipping" to true and click update.

then go to your manual that you want to offer free with free shipping and set the shipping options to "Always Free Shipping".

viola!

example:
http://www.oldwestgames.com/lightweight-texas-holdem-green-felt-poker-table-83-x-44-p-367.html

oh and...cool products! looks like fun.

14 Oct 2006, 10:13 PM
#5
wickedklown avatar

wickedklown

Zen Follower

Join Date:
Aug 2005
Posts:
370
Plugin Contributions:
0

Re: zen cart free charge card

mafiasam:

in your zen cart admin area point your cursor at modules and choose shipping. on the next page choose the "FREE SHIPPING!" module. click install. change "enable free shipping" to true and click update.

then go to your manual that you want to offer free with free shipping and set the shipping options to "Always Free Shipping".

viola!

example:
http://www.oldwestgames.com/lightweight-texas-holdem-green-felt-poker-table-83-x-44-p-367.html

oh and...cool products! looks like fun.

i know all of that... im just wondering if my theory is correct...

15 Oct 2006, 1:32 AM
#6
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: zen cart free charge card

wickedklown:

i know all of that... im just wondering if my theory is correct...

uh...yeah. that's how it works.

30 Nov 2006, 12:53 AM
#7
pioupioun avatar

pioupioun

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Re: zen cart free charge card

So here is a question about the free charge card:

I have an order which is now zero because a discount coupon was used. Without the coupon, the product would be $5 and the shipping would be $5, but with the coupon the order total comes out to 0. That works fine.

So, shouldn't the zen free charge card be showing up as one of the payment options on the checkout page? I have the freeshipper installed, and I have the free charge card installed, as well as Authorize.net AIM (for when orders are not $0), but I don't see the zen free charge card as a payment option at any time.

Did I mess something up in my settings?

30 Nov 2006, 12:55 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: zen cart free charge card

Until the coupon is added to make the order $0.00 the Zen Cart Free Charger freecharger Payment Module cannot show ... as it isn't a Free Order yet ... :unsure:

30 Nov 2006, 1:11 AM
#9
pioupioun avatar

pioupioun

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Re: zen cart free charge card

Naturally it wouldn't, but it wasn't showing AFTER the coupon was added and the order total was 0. The coupon had been added, the order total was $0, and it was still showing the Authorize.net credit card payment option and not the zen free charge card.

I went into includes/classes/payment.php and at line 40 changed this:

        if (zen_get_configuration_key_value('MODULE_PAYMENT_FREECHARGER_STATUS') and ($_SESSION['cart']->show_total()==0 and $_SESSION['shipping']['cost']== 0))

to

        if (zen_get_configuration_key_value('MODULE_PAYMENT_FREECHARGER_STATUS') and ($_SESSION['cart']->show_total()==0 and $_SESSION['shipping']['cost']== 0) || $total == 0)

and it started working fine.

But are you saying that it should have been showing up once the coupon was applied and the order went to 0, that that is the default cart behavior? Because I just could not get it to come up without going into the code...

30 Nov 2006, 1:19 AM
#10
pioupioun avatar

pioupioun

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Re: zen cart free charge card

Also, when I then click through on the Zen free charge card to the order confirmation page, "Zen Free Charge Card" doesn't show up under Payment Method, it's just blank. Is that what is supposed to happen?

30 Nov 2006, 1:39 AM
#11
pioupioun avatar

pioupioun

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Re: zen cart free charge card

And I take it back: it doesn't work fine. Even though it works if the only item in the cart is the one that the coupon brings down to 0, if you then go add a product with a value, then the zen free charge is still the only means of payment, the credit card option doesn't show up even though the order isn't 0 anymore!

HEEEEELLLLLLLLLP! PLEEEEAAAAASE!

30 Nov 2006, 1:50 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: zen cart free charge card

You changed the test to something that is always evaluating as true on the or statement ...

30 Nov 2006, 1:56 AM
#13
pioupioun avatar

pioupioun

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Re: zen cart free charge card

I took it out because it didn't work correctly, but that being said, now that I am back to square one, I still don't have the behavior that the Zen cart free charge comes up once the coupon is applied to make the order total zero. Is that the way the cart is built by default, meaning mine is malfunctioning?

30 Nov 2006, 1:57 AM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: zen cart free charge card

Good news it's not you ...

Bad news ... moving this to the Bug Reports to remind me to figure out what to do on orders that use 100% Discount Coupons and go to $0.00

Thought we had that fixed a long time ago ... :unsure:

30 Nov 2006, 2:03 AM
#15
pioupioun avatar

pioupioun

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

Re: zen cart free charge card

Ok, thanks, that's good to know because now I can stop frantically sifting through my admin settings to see if I accidentally jacked something up. :laugh:

For the time being I edited the checkout payment file to have a note under Payment Method that says "You do not have to enter your credict card information if your order total is 0." But it would be slicker if it kept track...

I also want to link this back to a thread I posted earlier which I believe you replied to, which I think might be tied into this problem as well because it relates to the 100% coupon issue:

http://www.zen-cart.com/forum/showthread.php?t=52627

Thanks for your help!

27 Dec 2006, 5:32 AM
#16
seanscully avatar

seanscully

Zen Follower

Join Date:
Apr 2006
Location:
Largo, Florida USA
Posts:
99
Plugin Contributions:
0

Re: zen cart free charge card

So if I understand this correctly, I should install the Zen Charge Free CHarge Card for my items I have listed as Free in my store so customer can download those items without seeing the error Not Accepting Payments From Your Area?

I do occasionly test my store and was doing the free download as the item purchased.

Also - If they buy something from store and get the free download, will the Zen Cart Charge Card show or just my selected payment methods?

Thanks everyone.

27 Dec 2006, 5:47 AM
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: zen cart free charge card

If you install the Payment module Zen Cart Free Charger freecharger and the Shipping module Free Shipping freeshipper ...

When the Shipping is 0.00 ... either the Free Shipping freeshipper will show and all others will hide or the Shipping page is skipped such as with Downloads as Downloads do not need Shipping ... Note: Downloads are NOT Virtual Products ...

When the order is 0.00 based on product charges and shipping charges ... only the Zen Cart Free Charger freecharger will show and all other payment modules will disappear as there are not other payment methods that apply ...

14 Jul 2009, 2:15 AM
#18
damsel44 avatar

damsel44

New Zenner

Join Date:
Jan 2009
Posts:
1
Plugin Contributions:
0

Re: zen cart free charge card

Hi,
I see this thread is old but maybe someone is still checking it. :yes:

I am using the latest version of Zencart, and so far I love it but getting the downloads and payments are a pain for me.

I have only downloadable products. I think I have everything set up properly in the attributes, the payment modules and such. I've been reading everything I can get my hands on. I am not a programmer so my PHP knowledge is only what I pick up on here and forging ahead into the files and seeing what the code says. :-)

My problem so far, is I have freebies on my site too. Downloads that are free. I have enable the free Zen card and also free shipping and everything goes well on the freebies, it even selects the free Zen card as payment and shows the total as zero. But when you do that final confirmation, it says NOTE: Downloads are not available until payment has been confirmed. and won't give a download link. Why it says payment is a puzzle since it's listed as 0 cost and uses the Free Zencard and no shipping. I can't figure it out. If I'm having problems with the freebies, Lord only knows what I'll hit when paying customers show up. :shocking:

My three payment options are paypal express, paypal standard and the free Zencard. Any suggestions would be wonderful. The settings for my free shipping module are:

FREE SHIPPING

Enable Free Shipping
True

Free Shipping Cost
0.00

Handling Fee
0

Tax Class
--none--

Shipping Zone
--none--

Sort Order
4

And for the Free Zen charger card are:

Used for purchase of FREE CHARGE ONLY

Enable Free Charge Module
True

Payment Zone
--none--

Set Order Status
Delivered [3]

Sort order of display.
3

Thanks in advance for any help.

My site's located at http://www.3dposernow.com/ModelCentral/

Kathie

14 Jul 2009, 5:29 AM
#19
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: zen cart free charge card

If you only have Downloads and are seeing the checkout_shipping then your products are not set up correctly ... :eek:

Downloads should be setup as:

Product is Virtual: **No, Shipping Address Required **

Always Free Shipping: No, Normal Shipping Rules

On the Free Charger, you need to set the Order Status to Processing (orders_status = 2) or Delivered (orders_status = 3) so that the Download is available immediately, otherwise you have to change the Orders Status on the Free Charge manually on each order ...

14 Jul 2009, 5:50 AM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: zen cart free charge card

Also check the settings on the Configuration ... Attribute Settings ... for:

Downloads Controller Update Status Value 4
Downloads Controller Order Status Value >= lower value 2
Downloads Controller Order Status Value <= upper value 4

Then check in the Attributes Controller for the Product that the Days and Downloads on the Attribute setting for the Download that you have set and that the filename has a green dot next to it on the Attribute itself ...