Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2012
    Posts
    77
    Plugin Contributions
    0

    Default Remove Delivery Address and Shipping Method from Web Confirmation One Page Checkout

    I have been at this for a while. I have a clean email without Delivery Address and Shipping Method, but I can't figure out how to remove these sections from the Web confirmation in one-page-checkout.
    I sell online courses. I don't send anything out, and I feel that these sections will make the student wait for hard-copy materials that won't come.
    I click on, 'Yes, Skip Shipping Address' and 'free shipping' in the product information. I have worked with header_php.php and header_php_guest.php and tpl_checkout_confirmation_default.php. AI thinks I should work with tpl_checkout_success_default.php. Can someone direct me to the correct file? Name:  Delivery Address on checkout success.jpg
Views: 70
Size:  45.2 KB

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: Remove Delivery Address and Shipping Method from Web Confirmation One Page Checko

    That appears to be the page shown to the customer after a successful OPC checkout.

    The simplest method is to right-click or press F12 to see the menu and select Inspect. Then find the rule governing each section and set it to display: none; in the css/site_specific_styles.php for your template.

    https://docs.zen-cart.com/user/custo...ting-overrides
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Feb 2012
    Posts
    77
    Plugin Contributions
    0

    Default Re: Remove Delivery Address and Shipping Method from Web Confirmation One Page Checko

    Quote Originally Posted by dbltoe View Post
    That appears to be the page shown to the customer after a successful OPC checkout.

    The simplest method is to right-click or press F12 to see the menu and select Inspect. Then find the rule governing each section and set it to display: none; in the css/site_specific_styles.php for your template.

    https://docs.zen-cart.com/user/custo...ting-overrides
    I am seeing the ability to change the questions asked in the one page checkout, but not the 'Success Page' on the Web itself. Does it do both and I am missing something?

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: Remove Delivery Address and Shipping Method from Web Confirmation One Page Checko

    There are a couple of options, although the core file does not lend itself to easily hiding just part of each area.

    If you don't care about showing the Shipping Method or the Payment Method, you could use:

    Code:
    #myAccountShipInfo, #myAccountPaymentInfo {    display: none;
    }
    The code to just remove the Delivery Address and Billing Address is:

    Code:
    #myAccountShipInfo h3, #myAccountPaymentInfo h3, #myAccountShipInfo address, #myAccountPaymentInfo address {    display: none;
    }
    Whichever you choose should be added in the css/site_specific_styles.php for your template.

    https://docs.zen-cart.com/user/custo...ting-overrides
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    Feb 2012
    Posts
    77
    Plugin Contributions
    0

    Default Re: Remove Delivery Address and Shipping Method from Web Confirmation One Page Checko

    Thank you dbltoe. I wasn't able to find #myAccountShipInfo in that file. I ended up using /includes/templates/template_default/templates/tpl_account_history_info_default.php. I copied it into /includes/templates/YOUR_TEMPLATE/templates/tpl_account_history_info_default.php and made changes to that file to remove both the Delivery Address and Shipping Method Sections from Web Confirmation in One Page Checkout.

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: Remove Delivery Address and Shipping Method from Web Confirmation One Page Checko

    That's one way to do it, but a lot more dangerous than adding some CSS code.

    If you read the Docs article at the link I provided, it will tell you how to create the site specifics file and add the code needed to do what you want.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 

Similar Threads

  1. Replies: 7
    Last Post: 24 Dec 2012, 05:52 PM
  2. Order Confirmation: Switching Billing and Delivery Address
    By kdipaolo in forum General Questions
    Replies: 2
    Last Post: 31 Aug 2012, 05:34 PM
  3. can we remove standard delivery address and just have a textbox?
    By jobber99 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 18 Apr 2011, 04:54 PM
  4. remove web address from ontop of header image
    By uniqueliving in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 May 2010, 12:20 PM
  5. Delivery Address from Drop Down List at Checkout
    By OrganicMan in forum General Questions
    Replies: 4
    Last Post: 25 Jul 2008, 10:02 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