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

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    If this was an order placed by a guest, there's not address-book record created ... because they're a guest.

  2. #2
    Join Date
    Apr 2011
    Posts
    585
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    If this was an order placed by a guest, there's not address-book record created ... because they're a guest.
    My store does not allow guest checkout. Customer need to create an account in order to checkout.

    I also notice the following:

    If I log in as a customer with email/password (i.e. returning customer or new created account), then add a product to my cart. After going to checkout and go to edit shipping address, there is no "add to address book" box being displayed.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by nicksab View Post
    My store does not allow guest checkout. Customer need to create an account in order to checkout.

    I also notice the following:

    If I log in as a customer with email/password (i.e. returning customer or new created account), then add a product to my cart. After going to checkout and go to edit shipping address, there is no "add to address book" box being displayed.
    Yes, that was corrected in OPC v2.3.2.

  4. #4
    Join Date
    Feb 2011
    Posts
    57
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Hello,

    I am using this mod in conjunction with the multi-site module. I am hoping to have a single one page checkout site for several of my websites. What edits would I need to make so that when the customer selects "checkout", be it from the shopping cart or other pages, that they are redirected to my designated site for checking out? I will be including the customer zen-id with the url as to carry over the cart details.

    Thank you kindly.

  5. #5
    Join Date
    Feb 2011
    Posts
    57
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Actually I think I have found a better solution. I did not realize that with the payment module of my choosing that there was an additional "Review Order" page before confirmation. I was able to redirect the links leading to this page by editing the following file:

    public_html/includes/templates/template_default/templates/tpl_modules_opc_submit_block.php @ line 18

    Simply replacing the line 18 with:
    Code:
    <span id="opc-order-review">	<?php echo '<a href="https://website3.com/index.php?main_page=checkout_confirmation&template_switch_id=template3&'. zen_session_name() . '=' . zen_session_id()   .'"><button type="button">Review Order</button></a>';?> </span>
    seems to have done the job. The only hangup is that the "Review Order" button is using the default Zen-Cart button instead of the one designated for my template. Not a big deal, but I am trying to figure out how to adjust this for the sake of aesthetics. I tried a few changes, but these seem to interfere with the redirect. Any advice?

  6. #6
    Join Date
    Feb 2011
    Posts
    57
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    I do have an additional question, a bit more related to this module in specific. I intend on offering several payment methods such as Money Orders and COD. I feel it would be best to have different landing pages after checking out based on the selection chosen. Similar to how when the credit card option is chosen you are redirected to the "checkout_one_confirmation" page instead of "checkout_success", I would need a separate button or link that appears when these options are selected that takes the customer to the predefined pages "payment_instructions" and "COD_terms".

    Thank you and regards

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

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by Koda View Post
    I do have an additional question, a bit more related to this module in specific. I intend on offering several payment methods such as Money Orders and COD. I feel it would be best to have different landing pages after checking out based on the selection chosen. Similar to how when the credit card option is chosen you are redirected to the "checkout_one_confirmation" page instead of "checkout_success", I would need a separate button or link that appears when these options are selected that takes the customer to the predefined pages "payment_instructions" and "COD_terms".

    Thank you and regards
    Interesting idea! On the initial entry to the checkout_success page, the session-variable ($_SESSION['order_summary']) is copied to the variable $order_summary and that session-value is removed (enabling after-order tracking scripts to 'know' to send only once).

    The payment method used for the order is present in $order_summary['payment_module_code']. You could modify /includes/modules/pages/checkout_success/main_template_vars.php (as provided by OPC) to check for (a) the presence of that variable and then (b) change the name of the $checkout_success_template to display after-order instructions to your customers.

  8. #8
    Join Date
    Apr 2011
    Posts
    585
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Yes, that was corrected in OPC v2.3.2.
    Upgraded from 2.3.1 to 2.3.2 but my issue still persist.

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

    Default Re: One-Page Checkout [Support Thread]

    Well, , I missed that one. You can edit /includes/modules/pages/checkout_one/jquery.checkout_one.js, finding
    Code:
        function changeShippingFields(event)
        {
            jQuery(this).addClass('opc-changed');
            jQuery('#checkoutOneShipto .opc-buttons, #opc-ship-save').show();
            jQuery('#checkoutPayment > .opc-overlay').addClass('active');
            jQuery('#checkoutOneShipto').removeClass('visibleField');
            jQuery('#checkoutOneShipto').addClass('opc-view');
        }
    and changing to
    Code:
     
        function changeShippingFields(event)
        {
            jQuery(this).addClass('opc-changed');
            jQuery('#checkoutOneShipto .opc-buttons, #opc-ship-save, #opc-add-ship, #opc-add-ship+label').show();
            jQuery('#checkoutPayment > .opc-overlay').addClass('active');
            jQuery('#checkoutOneShipto').removeClass('visibleField');
            jQuery('#checkoutOneShipto').addClass('opc-view');
        }
    If your site is using minified scripts, you'll need to push that unminified version through a minifier; I use https://jscompress.com/.

  10. #10
    Join Date
    Apr 2011
    Posts
    585
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Well, , I missed that one. You can edit /includes/modules/pages/checkout_one/jquery.checkout_one.js, finding
    Code:
        function changeShippingFields(event)
        {
            jQuery(this).addClass('opc-changed');
            jQuery('#checkoutOneShipto .opc-buttons, #opc-ship-save').show();
            jQuery('#checkoutPayment > .opc-overlay').addClass('active');
            jQuery('#checkoutOneShipto').removeClass('visibleField');
            jQuery('#checkoutOneShipto').addClass('opc-view');
        }
    and changing to
    Code:
     
        function changeShippingFields(event)
        {
            jQuery(this).addClass('opc-changed');
            jQuery('#checkoutOneShipto .opc-buttons, #opc-ship-save, #opc-add-ship, #opc-add-ship+label').show();
            jQuery('#checkoutPayment > .opc-overlay').addClass('active');
            jQuery('#checkoutOneShipto').removeClass('visibleField');
            jQuery('#checkoutOneShipto').addClass('opc-view');
        }
    If your site is using minified scripts, you'll need to push that unminified version through a minifier; I use https://jscompress.com/.

    Still no luck.

    I tried OPC 2.3.2 on a fresh install of ZC 1.5.6 with no add on but the same thing happens.

    Shipping address is not being registered in the address book.

    Click image for larger version. 

Name:	test.jpg 
Views:	51 
Size:	30.8 KB 
ID:	19038

    I am not an expert but I added the following code in /templates/templates_default/tpl_checkout_shipping_address_default.php

    Code:
    <?php
            if ($show_add_address) {
    ?>
                    <?php echo zen_draw_checkbox_field("add_address['ship']", 'style="display:inline"','1', false, 'id="opc-add-ship"' . $parameters); ?>
                    <label class="checkboxLabel custom-control-label" for="add_address['ship']" title="<?php echo TITLE_ADD_TO_ADDRESS_BOOK; ?>"><?php echo TEXT_ADD_TO_ADDRESS_BOOK; ?></label>
    <?php
    The check box and text is displayed but it did not fix my problem of the address not being registered in the address book. OPC is really great but this issue has me clueless.

    Click image for larger version. 

Name:	test1.jpg 
Views:	42 
Size:	26.7 KB 
ID:	19039

    I also apologize for pushing on my issue and appreciate everyone trying to help.

    Thank you again

 

 
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