Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2006
    Posts
    224
    Plugin Contributions
    0

    Default How to add links within the checkout_shipping

    My checkout shipping looks like this, just changed some of the text. Apparently a lot of customers want more details or dont understand at all, so I am thinking to add a link, maybe after each descriptions, where they click and pop up a window with more details. Somewhere behind the 'Best Way'. a hover and pop up is excellent but I have no idea how to do that. The next best is a link, but need some help in the coding.

    The lines involved are:
    define('MODULE_SHIPPING_STOREPICKUP_TEXT_WAY', 'Walk In Self Collect') ;

    how do I phrase the code? can the
    <a href="index.php?main_page=xxx#abc"> structure work here?


  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How to add links within the checkout_shipping

    Try this:

    Code:
    define('MODULE_SHIPPING_STOREPICKUP_TEXT_WAY', 'Walk In Self Collect - <a href="http://www.domain.com" rel="nofollow">added link description</a>');
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2006
    Posts
    224
    Plugin Contributions
    0

    Default Re: How to add links within the checkout_shipping

    Lovely. But this method will jump the page to the so called faq page. This might interfere with the checkout and lose some orders. So I will try to take it from here and do a click to open a pop up method. Will post once I am done.

  4. #4
    Join Date
    Jan 2006
    Posts
    224
    Plugin Contributions
    0

    Default Re: How to add links within the checkout_shipping

    Got it working. But got a problem

    The page is:

    http://www.onlineshop.com.sg/index.p...ckout_shipping

    Need to log in to see it.

    The code I used instead is :

    define('MODULE_SHIPPING_FREEOPTIONS_TEXT_WAY', 'Free Shipping - <a href=http://www.mysite.com/index.php?main_page=shippinginfo#freeoptions target="_blank" toolbar="no" width="200" height=150">Details</a>');

    It pops up a window and jumps to the correct 'anchor' for just a split second, once the sidebars load, the images cause the lines to jump and the final display is a few rows or paragraph down.

    If I refresh the page, it will jump back to the correct anchor. Any way to solve this? In the first place, I want to remove all the sideboxes if possible. I only need the text.

  5. #5
    Join Date
    Jan 2006
    Posts
    224
    Plugin Contributions
    0

    Default Re: How to add links within the checkout_shipping

    An even bigger problem, now when customer checks out, click on next, they get:

    Warning: Cannot modify header information - headers already sent by (output started at /home/onlinesh/public_html/includes/languages/english/modules/shipping/storepickup.php:40) in /home/onlinesh/public_html/includes/functions/functions_general.php on line 44

  6. #6
    Join Date
    Jan 2006
    Posts
    224
    Plugin Contributions
    0

    Default Re: How to add links within the checkout_shipping

    This it the line 44 code

    header('Location: ' . $url);

 

 

Similar Threads

  1. How to add links on the header?
    By lina0962 in forum General Questions
    Replies: 1
    Last Post: 28 Jun 2010, 01:15 AM
  2. How to add links in the sidebox??
    By nyanko chan in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Jan 2009, 08:47 AM
  3. How do you add to the links in the top header
    By dlaitila in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Aug 2006, 06:10 AM
  4. How can I add a link within my links page?
    By pstarling in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Aug 2006, 09:37 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