Zen Cart Logo
Forums / All Other Contributions/Addons / One-Page Checkout [Support Thread]

One-Page Checkout [Support Thread]

Views: 629,409

Results 921 to 940 of 3,078
30 Jul 2018, 5:05 AM
#921
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,765
Plugin Contributions:
9

One-Page Checkout [Support Thread]

Since OPC 2.0.0 and later have been found to work with ZipShip, are you receiving any debug files in the logs directory? If so, enter them here using the # sign above.

30 Jul 2018, 11:46 AM
#922
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

royaldave:

Hi

Have installed latest version of OPC and am having issues with zipship module. When you first arrive at the checkout page it correctly displays a delivery rate, however if you update the shipping address postcode it then incorrectly says 'The delivery/shipping fee cannot be determined at this time' .
I just tried this (OPC 2.0.4, ZC 1.5.5f, ZipShip v2.0.1, responsive_classic template) without issue. I placed an item into my cart, clicked the "Checkout" button and then clicked "Guest Checkout" on the OPC-modified login screen.

Started out with guest zipcode as one value ("supported" by ZipShip); shipping cost properly displayed. Changed the guest zipcode to another one within the ZipShip configuration (but with a different price) and the shipping-cost was correctly updated upon pressing the "Save" button from the OPC's main screen.

Was the issue you found during "normal" checkout?

Note: I just tried "normal" checkout without issue.

31 Jul 2018, 4:10 AM
#923
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
284
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

dbltoe:

Since OPC 2.0.0 and later have been found to work with ZipShip, are you receiving any debug files in the logs directory? If so, enter them here using the # sign above.

Sorry please ignore, realised it was my issues.

However, if anyone can help - as part of my zipship implementation I hardcode a list of cities into the checkout page as a select so that the user can't pick anything we don't deliver to. The zipcode is updated based on their selection. I could get this to work with earlier OPC but am struggling now that the billing and shipping are on the same page. I more or less have it working the way I want except that when I select a shipping city it keeps coming back with the 'Your City must contain a minimum of 2 characters.'

If someone could visit my test site and tell me what I'm doing wrong - tearing my hair out ...

http://61.245.139.145/zencart

4 Aug 2018, 4:04 AM
#924
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
284
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

Let me ask another hopefully easier question.

As we only deliver locally I wish to hardcode the country in shipping address. I have modified tpl_modules_opc_address_block.php so that it outputs a hidden field instead of the country selection -

<input type="hidden" name="zone_country_id[ship]" id="country-ship" value="13" />

However this value is not getting passed through so I am getting the warning about needing to select a country. Can anyone suggest what I am missing?

http://61.245.139.145/zencart

4 Aug 2018, 12:52 PM
#925
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

royaldave:

Let me ask another hopefully easier question.

As we only deliver locally I wish to hardcode the country in shipping address. I have modified tpl_modules_opc_address_block.php so that it outputs a hidden field instead of the country selection -

<input type="hidden" name="zone_country_id[ship]" id="country-ship" value="13" />

However this value is not getting passed through so I am getting the warning about needing to select a country. Can anyone suggest what I am missing?

http://61.245.139.145/zencart
That hidden input is most likely being "overwritten" by the base form's address-selection. Note also that the module you identified is used to create both the shipping and billing address, so the warning about needing to select a country might be associated with the zone_country_id[bill] value.

4 Aug 2018, 6:03 PM
#926
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

lat9:

That hidden input is most likely being "overwritten" by the base form's address-selection. Note also that the module you identified is used to create both the shipping and billing address, so the warning about needing to select a country might be associated with the zone_country_id[bill] value.
Rather than make store-specific changes to the OPC's templates, you should define a "Zone" that includes only your ship-to country and restrict your shipping module(s) to be active for that defined zone.

5 Aug 2018, 7:20 AM
#927
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
284
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

lat9:

That hidden input is most likely being "overwritten" by the base form's address-selection. Note also that the module you identified is used to create both the shipping and billing address, so the warning about needing to select a country might be associated with the zone_country_id[bill] value.

No, I put an if statement in there so that the billing input is left normal.

5 Aug 2018, 11:05 AM
#928
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

lat9:

Rather than make store-specific changes to the OPC's templates, you should define a "Zone" that includes only your ship-to country and restrict your shipping module(s) to be active for that defined zone.

royaldave:

No, I put an if statement in there so that the billing input is left normal.
Did you try the above suggestion that I made?

7 Aug 2018, 5:40 AM
#929
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
284
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

lat9:

Did you try the above suggestion that I made?

No, must admit not sure how to do that. That said I am more interested in your prior comment -

That hidden input is most likely being "overwritten" by the base form's address-selection

To this person who is pretty rubbish at forms, what does this mean, and where would I look to correct this ?

7 Aug 2018, 12:27 PM
#930
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

royaldave:

No, must admit not sure how to do that. That said I am more interested in your prior comment -

That hidden input is most likely being "overwritten" by the base form's address-selection

To this person who is pretty rubbish at forms, what does this mean, and where would I look to correct this ?
You need to "View Source" when the checkout_one page is presented (that's Ctrl+U on FireFox) to see if there are multiple inputs named zone_country_id[ship].

Setting up an AU Zone for shipping is fairly simple (although multi-step):

Localizations->Zone Definitions, click Insert. Zone Name: AU Shipping Zone Description: Limit shipping to AU-only, press Enter.
Now, click the Details button associated with that Zone Definition: Country: AU Zone: All Zones (some versions of Zen Cart show this as Please select), press Enter.

Now navigate to Modules->Shipping. Select each of your active shipping modules and set the Shipping Zone to AU Shipping. That will enable those shipping selections to be active only when the ship-to address is in Australia.

9 Aug 2018, 4:19 AM
#931
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
284
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

lat9:

You need to "View Source" when the checkout_one page is presented (that's Ctrl+U on FireFox) to see if there are multiple inputs named zone_country_id[ship].

Definately only one zone_country_id[ship]- most frustrating!

http://61.245.139.145/zencart

9 Aug 2018, 5:52 AM
#932
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
284
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

lat9:

Setting up an AU Zone for shipping is fairly simple (although multi-step):

Localizations->Zone Definitions, click Insert. Zone Name: AU Shipping Zone Description: Limit shipping to AU-only, press Enter.
Now, click the Details button associated with that Zone Definition: Country: AU Zone: All Zones (some versions of Zen Cart show this as Please select), press Enter.

Now navigate to Modules->Shipping. Select each of your active shipping modules and set the Shipping Zone to AU Shipping. That will enable those shipping selections to be active only when the ship-to address is in Australia.

Thanks, got that, however zipship doesn't allow zone selection.

9 Aug 2018, 11:39 AM
#933
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

royaldave:

Thanks, got that, however zipship doesn't allow zone selection.
I don't know what version of ZipShip you're using, but the most recent version, v2.0.1, has added support for a Shipping Zone.

13 Aug 2018, 1:59 PM
#934
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
284
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

OK, will need to upgrade zipship - still using original version.

Another question - how would I 'blank out' the default shipping information on this page - or at the very least just the zipcode.

Might sound silly but its quite important for what I am trying to do.

13 Aug 2018, 11:17 PM
#935
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

royaldave:

OK, will need to upgrade zipship - still using original version.

Another question - how would I 'blank out' the default shipping information on this page - or at the very least just the zipcode.

Might sound silly but its quite important for what I am trying to do.
If you give me a tad more insight into what you're trying to do, it would help me help you.

14 Aug 2018, 4:04 AM
#936
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
284
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

lat9:

If you give me a tad more insight into what you're trying to do, it would help me help you.

Link to my test site if you wish to view -

http://61.245.139.145/zencart/

The background:
Basically we only deliver locally in our own vans or via courier, hence the use of the zipship module. A large proportion of our deliveries are gifts so frequently the shipping and billing won't match, and in many cases the billing address will be interstate or overseas.

To avoid (in particular) overseas customers making mistakes with suburb vs postcode I have an input select list of suburbs we deliver to, and on selection it populates the postcode field. There are many suburbs of Perth we do not deliver to and we also wish to avoid customers fudging the booking by putting in a false postcode against somewhere we don't go. It will happen - was only yesterday discussing with a colleague who is constantly blamed by customers who themselves have put the wrong information in.

This has worked really well prior to OPC, as well as with OPC v1.

The Problems
A. Because OPC is now truely one page without the edit address buttons, the zipship module is quoting a rate based on the billing postcode prepopulating the shipping postcode. Even though my form is showing errors without a 'city' being selected, the user is able to click checkout and move forward to payment. Hence I don't want the shipping info prepopulated because I want to force the customer to enter shipping suburb/postcode separately (and correctly).

B. I don't understand why my input select doesn't work.

14 Aug 2018, 6:58 PM
#937
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

@royaldave, thanks for the update. I'm in the middle of a couple of projects right now, but will take a look now that I understand your requirements when I've got a little down-time.

18 Aug 2018, 5:19 PM
#938
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

lat9:

@royaldave, thanks for the update. I'm in the middle of a couple of projects right now, but will take a look now that I understand your requirements when I've got a little down-time.
Ah, I see the issue. You've got OPC configured with Enable shipping=billing? set false, and the shipto address is not (yet) fully formed but OPC is not recognizing that.

I'll send you a PM so that you can send me your updates to any OPC modules you've changed so that I can reproduce the issue on my test site and get back with a solution.

18 Sep 2018, 5:12 PM
#939
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

@lat9 which .php file generates the call for the text to appear when you start typing in your credit card number?
Example when start typing 42 I notice the page refresh and visa appears. Notice it’s lower case but their logo is VISA. I notice the same when typing in 52 which shows masterCard and I want it to show MasterCard. Also americanExpress & discover.
It’s just cosmetic if you have the time please.
I used the developers tool kit and could not find masterCard & also search in the database with no avail. Is the call embed in hex code?
Grrrrrrr ...

Mark

18 Sep 2018, 5:34 PM
#940
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

haredo:

@lat9 which .php file generates the call for the text to appear when you start typing in your credit card number?
Example when start typing 42 I notice the page refresh and visa appears. Notice it’s lower case but their logo is VISA. I notice the same when typing in 52 which shows masterCard and I want it to show MasterCard. Also americanExpress & discover.
It’s just cosmetic if you have the time please.
I used the developers tool kit and could not find masterCard & also search in the database with no avail. Is the call embed in hex code?
Grrrrrrr ...

Mark
What payment-processor are you using?