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

Hybrid View

  1. #1
    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.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    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.

  3. #3
    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

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    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;

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

    Default Re: One-Page Checkout [Support Thread]

    You're a star! I had tried a couple of similar changes but not that one.

    Thank you.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by simon1066 View Post
    You're a star! I had tried a couple of similar changes but not that one.

    Thank you.
    I'll get that issue noted on GitHub. Its correction will be included in the 2.0.1 release of One-Page Checkout.

  7. #7
    Join Date
    Mar 2018
    Location
    Cornwall
    Posts
    26
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    LOST IN V 2.0

    Was working fine before the upgrade from 1.5 but now I have two problems .
    First the Enable One-Page Checkout? true false setting on the configuration - doesnt work !

    I get the correct "The One-Page Checkout plugin was successfully upgraded from [] to [2.0.0 (2018-04-27)]." message Enable One-Page Checkout?OPC does not kick in and there is no apparent difference between checkout sequence with either setting - I have reloaded it three times.
    I tried dropping back to the previous version 1.5.0 which does work. Am I just being really stupid and missing something ??

    Second editing the confirmation email (I want to miss out a few Divs) now seems to have no effect
    Surely that hasnt gone to a new file ?

    Not very urgent - 1.5 does all i require - but I am puzzled!

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by shayne View Post
    LOST IN V 2.0

    Was working fine before the upgrade from 1.5 but now I have two problems .
    First the Enable One-Page Checkout? true false setting on the configuration - doesnt work !

    I get the correct "The One-Page Checkout plugin was successfully upgraded from [] to [2.0.0 (2018-04-27)]." message Enable One-Page Checkout?OPC does not kick in and there is no apparent difference between checkout sequence with either setting - I have reloaded it three times.
    I tried dropping back to the previous version 1.5.0 which does work. Am I just being really stupid and missing something ??

    Second editing the confirmation email (I want to miss out a few Divs) now seems to have no effect
    Surely that hasnt gone to a new file ?

    Not very urgent - 1.5 does all i require - but I am puzzled!
    What, specifically, do you mean when you say that OPC does not "kick in"?
    Have you verified that OPC is, in fact, enabled through its configuration?
    Did you make any template-override customizations to OPC 1.5? Many of the templates changed significantly going from 1.5 to 2.0.

    Your question regarding confirmation email is outside of the OPC's changes and would be best asked outside of this support thread.

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    @simon1066, what happens if you change the line you identified to read

    Code:
    $opc_disable_address_change = !$editShippingButtonLink;
    Probable bug report related to the above change:

    index.php?main_page=checkout_one

    - change shipping address on page
    - select 'cancel'
    - change shipping address on page, again
    - add/cancel/save buttons do not show


    removing the if statement from this code in tpl_modules_opc_shipping_address.php allows the display of buttons (but then removes the shipping address dropdown)

    if ($editShippingButtonLink) {
    $cancel_title = 'title="' . BUTTON_CANCEL_CHANGES_TITLE . '"';
    $save_title = 'title="' . BUTTON_SAVE_CHANGES_TITLE . '"';
    $show_add_address = $_SESSION['opc']->showAddAddressField();
    $parameters = ($show_add_address) ? '' : ' class="hiddenField"';
    ?>
    ...
    <?php
    }
    ?></code>

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    bug Re: One-Page Checkout [Support Thread]

    A bug it is! I've created a GitHub issue to track the changes: https://github.com/lat9/one_page_checkout/issues/132

 

 
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