Forums / General Questions / Adding Products to EZpages

Adding Products to EZpages

Locked

Started by chabates on 31 Mar 2010, 2:05 PM · Views: 524

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
31 Mar 2010, 2:05 PM
#1
chabates avatar

chabates

New Zenner

Join Date:
Apr 2008
Location:
Ontario
Posts:
76
Plugin Contributions:
0

Adding Products to EZpages

I would like to add a couple of products as they are seen on the "All products" page to an EZpage.

I want to 3 products to this certain EZpage, but I want all of them or any of them to be able to be added to the shopping cart from that certain page.

I know it could be custom coded, but is there any easier way to get the products on an EZpage?

31 Mar 2010, 2:46 PM
#2
chabates avatar

chabates

New Zenner

Join Date:
Apr 2008
Location:
Ontario
Posts:
76
Plugin Contributions:
0

Re: Adding Products to EZpages

Ok I figured it out, it wasn't too hard.

I just looked at view source on the "all products" page. I copy and pasted the html code of the products i wanted to see on the EZpage. Then you have look for, copy and paste this code (located just before the product html code) before the product codes:

<form name="multiple_products_cart_quantity" action="http://www.YOURWEBPAGE.com/index.php?main_page=products_all&disp_order=8&page=2&action=multiple_products_add_product" method="post" enctype="multipart/form-data">
 
<div class="buttonRow forward"><input type="image" src="includes/templates/YOURTEMPLATE/buttons/english/button_add_selected.gif" alt="Add Selected Products to Cart" title=" Add Selected Products to Cart " id="submit1" name="submit1" /></div>
<br class="clearBoth" /> 

<table border="0" width="100%" cellspacing="2" cellpadding="2"> 

and add this code after the products html

</table>
<div class="buttonRow forward">
<input type="image" src="includes/templates/YOURTEMPLATE/buttons/english/button_add_selected.gif" alt="Add Selected Products to Cart" title=" Add Selected Products to Cart " id="submit2" name="submit1" />
</div>
</form>
 

This is not the exact code to add to your site, you have to find this code specific to your site when you "view source" your all products page. Also make sure the correct amount of <tr> , <td> , </tr> and </td> are present.