Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2007
    Location
    Washington
    Posts
    115
    Plugin Contributions
    0

    Default Rollover Images and Add Product to Cart With Link in an EZ Page

    Hey all.

    I've created an EZ page that includes rollover images (found here: http://beamerfilms.com/sermon-videos...ptions-page-24 )

    As is, those rollovers go to a product page. I would like to instead have the product added directly to the shopping cart. I've successfully enabled a form on a separate page that does exactly that (found here: http://beamerfilms.com/sermon-videos/subscriptions-2 )

    After hours of failed attempts, I'm realizing I'm in over my head and reaching out for help. Could anyone out there help merge these two concepts?

    Oh, for reference, here's a bit of html I'm using for the first rollover on the /subscription-page-24 EZ Page:

    HTML Code:
    <td colspan="2">
                 <a href="/sermon-videos/subscriptions/basic-subscription-monthly" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image106','','/sermon-videos/images/subscription2/videosermonillustrations-subscription_06b.jpg',1)"><img alt="sermon illustrations button - Sermon Videos, Video Illustrations 4 Sermons, Church Illustration" name="Image106" border="0" src="/sermon-videos/images/subscription2/videosermonillustrations-subscription_06.jpg" width="173" height="51" alt="" border="0"></a></td>

    And here is the code I'm using for the "Add To Cart" form that works when the image is clicked:

    Code:
    <form name="cart_quantity" action="/sermon-videos/index.php?main_page=product_info&amp;products_id=509&amp;action=add_product" method="post" enctype="multipart/form-data">
    
    <input type="hidden" name="cart_quantity" value="1" maxlength="6" size="4" />
    <br /><br />
    <input type="hidden" name="products_id" value="509" /><input type="image" src="/sermon-videos/images/subscription2/videosermonillustrations-subscription_06b.jpg" alt="Add to Cart" title=" Add to Cart " />
    
    </form>
    Again, I'm just trying to merge these two working concepts, but am having troubles.

    Thanks for any help!
    Cris

  2. #2
    Join Date
    Apr 2007
    Location
    Washington
    Posts
    115
    Plugin Contributions
    0

    Default Re: Rollover Images and Add Product to Cart With Link in an EZ Page

    I almost failed to mention that I tried this as well:

    http://www.zen-cart.com/forum/showpo...37&postcount=3

    which informs that no form is necessary by using

    HTML Code:
    http://linktostore.com/index.php?action=buy_now&products_id=1
    But that way of linking didn't appear to work on my site -- perhaps because I'm using Simple SEO...??? That's just a guess, though.
    Cris

 

 

Similar Threads

  1. v139h Multiple product images covering Add to Cart button on product page
    By lolwaut in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 7 Jan 2014, 06:39 AM
  2. Add to Cart Button has no link and displays a blank page
    By ajbeckster in forum General Questions
    Replies: 1
    Last Post: 6 Feb 2012, 12:38 PM
  3. Rollover Images not working on product page when HoverBox3 is turned ON
    By Sugarfreegum in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 29 Mar 2008, 01:29 PM
  4. Add a about us page to your cart and link with information sidebox
    By cafe99 in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 23 Jan 2008, 02:25 AM
  5. Link that add product to cart and go checkout?
    By ronwong in forum General Questions
    Replies: 8
    Last Post: 26 Oct 2007, 03:27 AM

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