Re: One-Page Checkout [Support Thread]
Thank, must have missed it :blush:
Quote:
Originally Posted by
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:
Code:
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"><table width="100%"><?php $order_total_modules->process (); $order_total_modules->output(); ?></table></td>
</tr>
<?php
//-eof-opc/bootstrap
}
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
Design75
Thank, must have missed it :blush:
That's easy to do, there are a lot of words!
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?
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
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.
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
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.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
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).
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
Code:
[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.
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
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
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
Code:
[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.