Page 1 of 2 12 LastLast
Results 1 to 10 of 3039

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default 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?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,884
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by simon1066 View Post
    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.

  3. #3
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default 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

  4. #4
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default 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.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,884
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by simon1066 View Post
    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).

  6. #6
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default 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.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,884
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by simon1066 View Post
    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.

  8. #8
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    ZC v1.5.5f
    PHP 7.1.9
    Mods: css_js_loader (I've tried with this disabled), DPU, SBA, CEON URI

    Following up on my posts a couple of pages back, a reinstall of OPC 2.0 and I'm still having problems. I'll clarify again now that I know a bit more.


    I have removed/disabled all shipping and payment modules except cod payment and per item shipping. I have no Zones.

    For a Full Account Checkout (multiple stored addresses) I don't see the drop down list for selecting a different shipping address. I am however able to edit and save the default shipping address and the jscript that allows this is working.

    If I edit the address and click 'Cancel' the drop down list appears.

    If I delete the following code from tpl_modules_opc_shipping_address.php, the list appears and all seems to work well - selecting, changing, saving etc.
    Code:
    $opc_disable_address_change = $editShippingButtonLink;
    The code that creates a list in tpl_modules_opc_address_block.php says:

    'If the address can be changed and an account-bearing customer has previously-defined addresses, create a dropdown list from which they can select.'

    I can change the address, manually, so I can't figure out why the dropdown list is not appearing.

    Things I've tried,

    disabled all javascript other than that needed to run OPC on the checkout page.
    switched to Classic template
    changed PHP versions
    checked for browser console errors
    enabled OPC debug - although I'm not sure what I should be looking for.
    Last edited by simon1066; 13 May 2018 at 12:23 PM. Reason: mods added

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,884
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    @simon1066, what happens if you change the line you identified to read

    Code:
    $opc_disable_address_change = !$editShippingButtonLink;

  10. #10
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default 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

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg