Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2007
    Posts
    30
    Plugin Contributions
    0

    Default Static product list - can I pull in live price?

    Hi all,

    I have a front page on a shop that has been hard coded and links to the category and product pages in zen cart. I did this as I was unable to format the front page in a way that I wanted through featured products etc. The front page is within zen cart (i.e. it completed through the main page template).

    Is there a way that I could pull in the price from zen cart since I know the products ID? Any example code would be great. I looked through the product-display-info template but am getting lost on how to pull prices, and if applicable sale prices.

    Any help would be appreciated.
    Thanks!

  2. #2
    Join Date
    Sep 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: Static product list - can I pull in live price?

    Hi again,

    A little more clarification if anyone can help:

    I have listed a few products using special images on the home page of a site. I have linked them to the product profile page. I do list the price under the special graphics and would like to have this price pull directly from Zen Cart.

    Any ideas?
    Thanks again!

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Static product list - can I pull in live price?

    To format the price, you could work from the price code in /includes/modules/product_listing.php. You would need to set up SQL queries to fetch the info from the database, as it will not be automatically available to a define page.

 

 

Similar Threads

  1. v151 Twitch List Price - how do I display List price?
    By Trinity14 in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 19 Jul 2021, 08:17 PM
  2. Crafty Live Help static link image
    By DML73 in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 5 Jan 2010, 11:19 PM
  3. state pull down list query
    By giov in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Jun 2009, 02:43 PM

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