Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
carlwhat
code is never weird.... it is code... understanding it can be difficult.
without getting into the logic in question here, the above line of code would be better suited as:
best.
I understand the code, "weird" referred to my putting "true" at that place! :smile:
Quick changes, just testing. :laugh:
Thanks anyway!
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
jpda
The change in shipping.php that I posted was:
Code:
} elseif (count($modules_with_quotes) === 1) {
is not correct if storepickup is
not the only method available because count($modules_with_quotes) > 1.
I changed that line to: (rather weird...)
and then it works also when other shipping methods are available.
The selected price is not always the cheapest.:(
If I find a better solution, I will let you know.
@jpda
I did fInd a better solution. :smile:
I'll send the public function "cheapest" via pm.
Thanks,
@jpda
Re: One-Page Checkout [Support Thread]
Hi Cindy! It's been a LONG time!
I'm building a test site to upgrade to 1.5.8a, and have minimal changes so far - ZCA Bootstrap, and added OPC 2.4.6.
It looks great so far, and a bunch faster too.
OPC works great for a logged-in user (me), but FAILS for a guest checkout:
Sorry, we are not accepting payments from your region at this time.
Please contact us for alternate arrangements.
Two payment modules :
COD - Ontario zone
moneyorder - NO ZONE
Both are available and work properly if logged in, but not guest
www.beadfx.com/shop
Play as you'd like
Thanks!
Dan
BeadFX
Re: One-Page Checkout [Support Thread]
Make sure OPC Order Total is set to
#ottotal > .ot-text
for bootstrap
Your Guest Checkout Methods?
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
DTomlinson
Hi Cindy! It's been a LONG time!
I'm building a test site to upgrade to 1.5.8a, and have minimal changes so far - ZCA Bootstrap, and added OPC 2.4.6.
It looks great so far, and a bunch faster too.
OPC works great for a logged-in user (me), but FAILS for a guest checkout:
Sorry, we are not accepting payments from your region at this time.
Please contact us for alternate arrangements.
Two payment modules :
COD - Ontario zone
moneyorder - NO ZONE
Both are available and work properly if logged in, but not guest
www.beadfx.com/shop
Play as you'd like
Thanks!
Dan
BeadFX
One of the OPC configuration settings identifies payment methods are disallowed to guests (Guest Checkout: Disallowed Payment Methods). That setting's default is (drum roll) 'moneyorder, cod'.
Just update that setting to be a blank and you'll be good-to-go.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
One of the OPC configuration settings identifies payment methods are disallowed to guests (Guest Checkout: Disallowed Payment Methods). That setting's default is (drum roll) 'moneyorder, cod'.
Just update that setting to be a blank and you'll be good-to-go.
Oh my! How did I miss that one.
Sleepy time!
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
DTomlinson
Oh my! How did I miss that one.
Sleepy time!
There are a ton of settings! Glad you found it.
Re: One-Page Checkout [Support Thread]
I installed OPC on v1.5.8 test site yesterday. On checkout the following headers are not shown properly. I can't seem to figure out how to insert the defines for these items.
MODULE_ORDER_TOTAL_COUPON_TITLE
MODULE_ORDER_TOTAL_GV_TITLE
Next to the input box the header there is missing these defines
MODULE_ORDER_TOTAL_COUPON_TEXT_ENTER_CODE
MODULE_ORDER_TOTAL_GV_TEXT_ENTER_CODE
MODULE_ORDER_TOTAL_GV_USER_PROMPT
I searched these in the forum but they didn't return any results.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
southshorepizza
I installed OPC on v1.5.8 test site yesterday. On checkout the following headers are not shown properly. I can't seem to figure out how to insert the defines for these items.
MODULE_ORDER_TOTAL_COUPON_TITLE
MODULE_ORDER_TOTAL_GV_TITLE
Next to the input box the header there is missing these defines
MODULE_ORDER_TOTAL_COUPON_TEXT_ENTER_CODE
MODULE_ORDER_TOTAL_GV_TEXT_ENTER_CODE
MODULE_ORDER_TOTAL_GV_USER_PROMPT
I searched these in the forum but they didn't return any results.
zc158 or zc158a? Those constants should be present in /includes/languages/english/modules/order_total/lang.ot_coupon.php and lang.ot_gv.php, respectively.
Re: One-Page Checkout [Support Thread]
Sorry it is 1.5.8a
Thank you I will update there.
Those were the 2 that I added the ~ at the end of the files per the instructions. I guess I need break. Details are slipping by me. The instructions clearly do not say to rename files in 1.5.8a. :frusty:
Thank you!!