Results 1 to 5 of 5
  1. #1
    Join Date
    May 2010
    Posts
    6
    Plugin Contributions
    0

    Default Simple HTML code for cross selling?

    Some of my vendors have coordinating products (decorative accessories) which are often sold together. I could use the Cross Sell Mods available but I hesitate to do anything to my database unless unavoidable. So I add the following snipet to my product description:

    Coordinating Product: <br> (or perhaps... You might also like:)
    <a href="http://mystore.com/index.php?main_page=product_info&cPath=1_23&products_id=1234"><img src="http://mystore.com/images/icons/99999.jpg" border="0" width="50" height="50" /> 99999 </a>

    I load a small product image (50x50) in the /icons directory I created below the image directory. It loads in the browser quickly and is clickable using the path and product_id for the coordinating product URL.

    An example can be seen at:
    https://zozelli.com/zencart/index.ph...oducts_id=2146

  2. #2
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: Simple HTML code for cross selling

    Does this still work when you view the page as HTTPS, or do you get 'mixed protocol' security warnings in the browser because you are forcing the image to load under HTTP not HTTPS?

  3. #3
    Join Date
    May 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Simple HTML code for cross selling

    I run my entire site under https so I haven't experienced any problems in that area. I wouldn't expect any issues however given that the URL is simply a subdirectory of the images directory anyway.

  4. #4
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: Simple HTML code for cross selling

    Some browsers will pop up a warning message something like: "Warning, some items on this secure page are being loaded in an insecure manner. Do you wish to continue?".

    That message is usually enough to frighten off a good percentage of visitors.

  5. #5
    Join Date
    May 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Simple HTML code for cross selling

    Quote Originally Posted by g1smd View Post
    Some browsers will pop up a warning message something like: "Warning, some items on this secure page are being loaded in an insecure manner. Do you wish to continue?".

    That message is usually enough to frighten off a good percentage of visitors.
    I'm sorry I misunderstood your question. You noted that my example code was http and my website is https. I run everything as https including the code snipet I quoted. You are correct that a warning message would pop up under such circumstances. I used http in the example for clarity not realizing I was making it less so.

 

 

Similar Threads

  1. Cross Selling Module for v1.3.9b?
    By ricangem in forum All Other Contributions/Addons
    Replies: 12
    Last Post: 2 Oct 2011, 11:45 PM
  2. help needed to edit this simple html code to open in a new window
    By Xbox Memberships in forum General Questions
    Replies: 4
    Last Post: 2 Apr 2010, 04:15 PM
  3. Is there an addon for Cross Selling that searches site AUTOMATICALLY?
    By Ben-B in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 4 Nov 2009, 02:30 PM
  4. html code error/Opera/FF cross-browser compatibility (IE7=OK)
    By milligoodz in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Jul 2008, 01:21 AM
  5. Cross-selling for articles
    By Sherry Two in forum General Questions
    Replies: 4
    Last Post: 12 Jul 2007, 04:07 AM

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