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

One-Page Checkout [Support Thread]

Views: 629,406

Results 781 to 800 of 3,078
29 Apr 2018, 5:21 PM
#781
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

One-Page Checkout [Support Thread]

Thank, must have missed it :blush:> lat9:

In the readme's Overview / Operation tab:

v2.0.0 of One-Page Checkout has been validated with the ZCA Bootstrap Template, v1.0.4. Since that template uses a table-based layout for the order-totals' formatting, you'll need to make a template-override change to includes/templates/template_default/templates/tpl_modules_opc_shopping_cart.php, wrapping the order-totals' output with table tags:

if (MODULE_ORDER_TOTAL_INSTALLED) {
$row_class = ($last_row_class == 'rowEven') ? 'rowOdd' : 'rowEven';
//-bof-opc/bootstrap, added <table></table> since the order totals are displayed as table-rows.
?>
<tr class="<?php echo $row_class; ?>" id="cartOrderTotals">
<td colspan="<?php echo (count($order->info['tax_groups']) > 1) ? 4 : 3; ?>" id="orderTotalDivs">[B]<table width="100%">[/B]<?php $order_total_modules->process (); $order_total_modules->output(); ?>[B]</table>[/B]</td>
</tr>

<?php //-eof-opc/bootstrap } ```
29 Apr 2018, 5:22 PM
#782
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Design75:

Thank, must have missed it :blush:
That's easy to do, there are a lot of words!

30 Apr 2018, 9:55 AM
#783
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I'm upgrading to v2.0. As this is a major change and I had already customised v1.5 to suit my template, I'm unsure whether I'm seeing all the expected changes. I've referred to the docs and the additional documentation.

I'm working my way through the various checkout/account pages and the first query I have is

For a 'Full-Account Checkout', with two addresses and where shipping address is not the same as billing should there be a drop-down selection of address book entries in the shipping address section?

30 Apr 2018, 10:41 AM
#784
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

simon1066:

I'm upgrading to v2.0. As this is a major change and I had already customised v1.5 to suit my template, I'm unsure whether I'm seeing all the expected changes. I've referred to the docs and the additional documentation.

I'm working my way through the various checkout/account pages and the first query I have is

For a 'Full-Account Checkout', with two addresses and where shipping address is not the same as billing should there be a drop-down selection of address book entries in the shipping address section?
Yes, for full-account-checkout the customer has one or more addresses defined in your store. The drop-down address selection shows if the customer has at least one address recorded in your store.

30 Apr 2018, 10:41 AM
#785
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I see that in tpl_modules_opc_address_block.php there is a reference to creation of a shipping dropdown likewise a css entry for #choices-ship. So I guess there should be a dropdown appearing.

I wonder under why the drop down is hidden, given I have multiple addresses in the address book and am able to manually edit the shipping address in index.php?main_page=checkout_one

30 Apr 2018, 10:42 AM
#786
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Thank you, just saw your post. I'll have to go back and make sure I've merged correctly.

30 Apr 2018, 10:58 AM
#787
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

simon1066:

Thank you, just saw your post. I'll have to go back and make sure I've merged correctly.
There's an additional clause that comes into play for the display of that address dropdown, as it's not displayed if the address cannot be updated (per shipping/payment module indication).

30 Apr 2018, 12:05 PM
#788
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I think I might have to roll back and start again, looking at my payment choice on this local server I had Square Payments set up. Thinking this might cause problems (self-cert SSL) I have changed the payment to just Money Order.

Attempting to change the shipping address I get

[30-Apr-2018 11:35:34 UTC] PHP Fatal error:  1054:Unknown column 'product_is_local_delivery' in 'field list' :: select product_is_local_delivery as check_it from products where products_id='214' limit 1 ==> (as called by) D:\wamp64\www\mydomain.co.uk\includes\classes\shopping_cart.php on line 1679 <== in D:\wamp64\www\mydomain.co.uk\includes\classes\db\mysql\query_factory.php on line 171

never used PDP, but I've temporarily removed that code from tpl_modules_opc_shipping_choices.php and I can now successfully change the shipping address although still no drop-down while having plenty of addresses in the address book.

30 Apr 2018, 12:08 PM
#789
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: One-Page Checkout [Support Thread]

Cindy,

Having a bit af a odd case here. I am working on a site for a customer with a virtual products site. No shipping address is required, and no shipping modules are installed. Also the ot_shipping module is not installed, as it is not needed.
OPC comes with the missing elements error, as expected. What would be the best solution, besides me hacking in to the code? Is this something You can build in to the module? Like a check to see is shipping is installed?
Additional info:
-ZC 1.5.5f

  • OPC 2.0
  • Bootstrap template 1.0.4
30 Apr 2018, 12:13 PM
#790
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

simon1066:

I think I might have to roll back and start again, looking at my payment choice on this local server I had Square Payments set up. Thinking this might cause problems (self-cert SSL) I have changed the payment to just Money Order.

Attempting to change the shipping address I get

[30-Apr-2018 11:35:34 UTC] PHP Fatal error: 1054:Unknown column 'product_is_local_delivery' in 'field list' :: select product_is_local_delivery as check_it from products where products_id='214' limit 1 ==> (as called by) D:\wamp64\www\mydomain.co.uk\includes\classes\shopping_cart.php on line 1679 <== in D:\wamp64\www\mydomain.co.uk\includes\classes\db\mysql\query_factory.php on line 171

> 
> never used PDP, but I've temporarily removed that code from tpl_modules_opc_shipping_choices.php and I can now successfully change the shipping address although still no drop-down while having plenty of addresses in the address book.
I've noted this as an issue (<https://github.com/lat9/one_page_checkout/issues/125>) when no shipping-choices are available.
30 Apr 2018, 12:17 PM
#791
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Design75:

Cindy,

Having a bit af a odd case here. I am working on a site for a customer with a virtual products site. No shipping address is required, and no shipping modules are installed. Also the ot_shipping module is not installed, as it is not needed.
OPC comes with the missing elements error, as expected. What would be the best solution, besides me hacking in to the code? Is this something You can build in to the module? Like a check to see is shipping is installed?
Additional info:
-ZC 1.5.5f

  • OPC 2.0
  • Bootstrap template 1.0.4
    I'll look into that mishandling by OPC, but for the time being a work-around might be to configure the store to enable Modules->Shipping->freeshipper.
30 Apr 2018, 12:53 PM
#792
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: One-Page Checkout [Support Thread]

That's what I have done, but the customer does not like to see that on the screen. But that is something I can hide easily with some css.
Thanks :bigups:

lat9:

I'll look into that mishandling by OPC, but for the time being a work-around might be to configure the store to enable Modules->Shipping->freeshipper.

30 Apr 2018, 1:12 PM
#793
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Design75:

That's what I have done, but the customer does not like to see that on the screen. But that is something I can hide easily with some css.
Thanks :bigups:
What is the ***that ***that the customer does not like to see on the screen?

Tracking issue opened: https://github.com/lat9/one_page_checkout/issues/126

30 Apr 2018, 1:31 PM
#794
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: One-Page Checkout [Support Thread]

The order total is showing freeshipper, on checkout, and order history.
Attachment 17821

lat9:

What is the ***that ***that the customer does not like to see on the screen?

Tracking issue opened: https://github.com/lat9/one_page_checkout/issues/126

30 Apr 2018, 1:37 PM
#795
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Thanks, @Design75. That will help me to determine how to address this issue.

30 Apr 2018, 1:42 PM
#796
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: One-Page Checkout [Support Thread]

for now i have put

tr#otshipping {display: none;}

in a override.css

lat9:

Thanks, @Design75. That will help me to determine how to address this issue.

7 May 2018, 12:42 PM
#797
meksicus avatar

meksicus

New Zenner

Join Date:
Jul 2015
Location:
Warsaw
Posts:
16
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Hello.
I made some changes to payment modules to be not displayed and choosed by customer, when (for example) total order amount is higher, than x amount.
Or, when you choose to store pick-up, there is no need to display COD option.
I made changes in __construct code and in check() function.
But it dosnt work with OPC - it works fine after reloading whole page, but does not, after just checking radio buttons, ie :
when i check "store pick-up", option COD is still showed. When i push F5, COD option disapears.
Meksicus

7 May 2018, 1:00 PM
#798
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

@meksicus, would you zip-up and post your changes to storepickup so that I can investigate further?

7 May 2018, 4:19 PM
#799
meksicus avatar

meksicus

New Zenner

Join Date:
Jul 2015
Location:
Warsaw
Posts:
16
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Attached cash.php code.
Changes marked by bof-Meksicus / eof-Meksicus
cashd.zip

Meksicus

7 May 2018, 4:30 PM
#800
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

PM sent as the link above went to "page not found".