Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

    customer issue Adjusting the look for Shopping Cart and steps 1 thru 3 of the Standard Checkout

    Not a bug, but an omission in the checkout files for anyone still using the three-step checkout built in to 1.5.6c. It may be there for earlier versions as well, but we have not tested it.

    Scenario, using responsive_classic clone and standard checkout steps 1 thru 3.

    The Continue button at the bottom of each of the three pages (buttonRow forward) is associated with an ID on page 2 (#paymentSubmit) and a class on page 3 (.buttonRow.forward.confirm-order) of checkout. It has no associated ID on page 1 which makes trying to modify the button with CSS also effect every other buttonRow throughout the cart.

    Suggested changes are:

    In includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_shipping_default.php on line 142 change
    Code:
    <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONTINUE_CHECKOUT, BUTTON_CONTINUE_ALT); ?></div>
    to
    Code:
    <div class="buttonRow forward"  id="setShipping"><?php echo zen_image_submit(BUTTON_IMAGE_CONTINUE_CHECKOUT, BUTTON_CONTINUE_ALT); ?></div>
    You could also take the time to modify the includes/templates/YOUR_TEMPLATE/templates/tpl_ajax_checkout_confirmation_default.php to change
    Code:
    <div class="buttonRow forward confirm-order"><?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?></div>
    to
    Code:
    <div class="buttonRow forward" id="confirmOrder"><?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?></div>
    These two changes would provide consistency in controlling the look of the Continue buttons on each of the three checkout pages.

    NOTE 1: Changing the id to #confirmOrder in the checkout confirmation file would mean that it MAY need to be added to the CSS for control. It made no difference in our template when we changed the file. Had it made a difference, we use and recommend stylesheet_zcustom.css for our changes to easily find them in the future. We did not use the same settings for this button as it "looks" better where it is.

    NOTE 2: The same principle can be applied to the Checkout button on the shopping cart page. In includes/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php. Find
    Code:
    <!--bof shopping cart buttons-->
    <div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
    and change to
    Code:
    <!--bof shopping cart buttons--><div class="buttonRow forward" id="checkoutContinue"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
    This will allow all the Checkout/Continue buttons from the Shopping Cart thru Page 3 of Checkout to be individually controlled. Again, tagging the Checkout button with the #checkoutContinue ID did not change the "look" on our template but will allow individual changes in the future.

    All of this makes for much better control of the pages that confuse customers the most. These buttons and the instructions for them are spread out differently on each page. Consistency assists the customer in navigation.

  2. #2
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Adjusting the look for Shopping Cart and steps 1 thru 3 of the Standard Checkout

    My update frustration is at its limit for today.... db collation issues has me fearing a complete redo from scratch. I hope to not abandon the 156c update like I did 156a and 156b after a week's frustration. It helps to tell people that someone fixed something that wasn't broken or changed functionality from previous versions.

    In includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_shipping_default.php on line 142 change
    do you mean includes/templates/template_default/templates/tpl_checkout_shipping_default.php on line 133 because the file only has 137 lines or a different filename?

    I don't see that file in .../responsive_classic or .../MYCLONE_responsive_classic
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

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

    Default Re: Adjusting the look for Shopping Cart and steps 1 thru 3 of the Standard Checkout

    Apologies,

    You will need to find the correct line. Other mods (multiship) have extended the number of lines in the file.

    The lines surrounding the fix are
    Code:
    </fieldset> 
    <div class="buttonRow forward"  id="setShipping"><?php echo zen_image_submit(BUTTON_IMAGE_CONTINUE_CHECKOUT, BUTTON_CONTINUE_ALT); ?></div>
    <div class="buttonRow back"><?php echo '<strong>' . TITLE_CONTINUE_CHECKOUT_PROCEDURE . '</strong><br />' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></div>

 

 

Similar Threads

  1. Replies: 5
    Last Post: 21 Apr 2013, 11:37 PM
  2. Change the look of Shopping cart sidebox (left)
    By jacobvandijk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 May 2011, 02:37 PM
  3. Replies: 2
    Last Post: 9 Sep 2008, 11:35 PM
  4. Replies: 1
    Last Post: 7 Apr 2008, 06:05 PM
  5. Using just the Shopping Cart and Checkout
    By bloome in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Jul 2007, 03:14 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR