Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005
    Posts
    121
    Plugin Contributions
    0

    Default Inserting custom DB query into product listing

    I've got quite a unique problem in that I want to display prices on the product listing page and the new products index box that are NOT the actual selling prices for the items.

    Let me try and explain...

    I want to sell items sold in bulk but want to display the unit (individual) price on certain areas / listings but still checkout with the bulk price.

    What I have done so far is to create a custom product entry in the admin product editor for "Item Price" and this writes the price into a custom DB field 'products_itemprice' - so far so good as I can call this DB entry in the product description :)

    But I cannot see how to include this field in the product listings page or on the front page new items box?

    Ideally it should say "per item:£x.xx" under each product

    Any ideas?

    Thanks

  2. #2
    Join Date
    Mar 2005
    Posts
    121
    Plugin Contributions
    0

    Default Re: Inserting custom DB query into product listing

    I'm still struggling with this after a couple of days

    I need to include the DB query for 'products_itemprice' and then somehow put it in the array that displays the product details / price etc on the products listing page and the new products index box...

 

 

Similar Threads

  1. Adding custom field from specials table to product listing and product info
    By davale in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Oct 2007, 06:19 AM
  2. Custom Product Listing?
    By ElBasha in forum General Questions
    Replies: 9
    Last Post: 8 Aug 2007, 11:31 PM
  3. Product Listing & CSS query
    By sprogy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Jul 2006, 08:10 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
  •