Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2009
    Location
    NC
    Posts
    174
    Plugin Contributions
    1

    Default Product Listing in EZpages

    So, what I've BEEN doing is just copying and pasting the html src code from product searches into the EZpages...as the company for whom I work wants their favorite products on the EZpages. However, the trouble I'm running into is that the prices for these items fluctuate pretty regularly...so I'm trying have the products load dynamically from the database, so when I run my pricing updates, I can circumvent the step of having to copy and paste HTML. I've already enabled PHP in the EZpages, but I'm having a difficult time figuring out what files control the output of product lists (class="productListing") - anybody got any ideas?

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Product Listing in EZpages

    well modules/product_listing.php is kind of the main file that controls the product listing but it won't be that simple unfortunately.

    putting a featured products center box on the ez pages would be easier.

    if not then you are going to have to dip into the code quite a lot.

  3. #3
    Join Date
    Jun 2009
    Location
    NC
    Posts
    174
    Plugin Contributions
    1

    Default Re: Product Listing in EZpages

    Well, what I was trying to do was simulate doing a search on meta-tags that I've done for certain prodcuts. So I was fishing around in some of the tpl_advanced_search_result.php and related files trying to get a clue as as to how I could do it.

    I also considered just putting an iframe in the EZ page and src-ing it to the query based search URL...the problem is I can't figure out how to JUST output the region containing just the search results rather than the entire bloody page!

  4. #4
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Product Listing in EZpages

    OK well here's the thing. In order to output it like a product listing you would most likely have to create a header_php file for that page which would set the page variables including the products. Then you'd call product_listing.php which would format that data into a big array according to the settings in configuration. Then you call a template to display that array.

    So it is not going to happen without dipping into the php in a fair way.

    However, easier, although still involving php , is to build a center box. What that does is run a sql query to find your products and then send these detail to a template file. It is basically a simpler process.

    You can have a look at modules/upcoming_products.php and templates/tpl_modules_upcoming_products.php to see how this process works.

    It is not that big a deal but it depends on your comfort with php.

    The iframe route will work and you could just get rid of everything else using css. But that is a messy messy messy solution.

 

 

Similar Threads

  1. Edit all product listing and new product listing.
    By DigitalShadow in forum General Questions
    Replies: 1
    Last Post: 18 Dec 2010, 05:15 PM
  2. Change Category Product Listing Layout To Match All Product Listing
    By Alfonzo in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Sep 2010, 11:49 AM
  3. To sell product on EZpages..
    By Elisa13 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 16 Apr 2010, 10:18 AM
  4. how to add freeshipping listing as new product listing and special listing
    By zeme_09g in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 15 Apr 2010, 10:35 AM
  5. Make product listing look like product all listing
    By erezw in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Jul 2009, 09:00 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