Results 1 to 9 of 9
  1. #1
    Join Date
    May 2005
    Posts
    110
    Plugin Contributions
    0

    Product Layout Changes - Need Help!

    Hi all,

    I only have a limited knowledge of PHP and I have been trying to modify the layout of my products within my shop for a couple of days now. I have managed to get the product info display page looking ok but i am having massive troubles trying to get the product listing page looking how i want it to.

    I have found a site which has the exact layout I want to achieve:

    Product Listing Example:
    http://www.jewelrysupply.com/swarovs...vski_bead.html

    Product Info Display Example:
    http://www.jewelrysupply.com/index.p...roducts_id=516

    I specifically want to display the Qty Discount attribute/table on the product listing page like in the examples above, but cannot figure out how to go about it.

    I am using Zen Cart Ver. 1-2-7-d. can someone please help me in getting my product layout correct? Is there any modules/addons/templates out there that I can use?

    Cheers,
    Brad.
    Last edited by emtecmedia; 10 May 2006 at 01:52 AM.

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    35
    Plugin Contributions
    0

    Re: Product Layout Changes - Need Help!

    I would say contact the company that has the layout you would like and see if the will either give or sell it to you. That is your best bet with out paying someone to create a template like that for you.
    -nepton

  3. #3
    Join Date
    May 2006
    Location
    USA
    Posts
    35
    Plugin Contributions
    0

    Idea or Suggestion Re: Product Layout Changes - Need Help!

    **** Do Not Advertise on the Zen Cart Site *******
    Last edited by Kim; 10 May 2006 at 03:38 AM.

  4. #4
    Join Date
    May 2005
    Posts
    110
    Plugin Contributions
    0

    Default Re: Product Layout Changes - Need Help!

    Hi,

    I thought about contacting them but I was hoping that modifying the template would be an achievable thing.

    Can anyone else shed some light on it?

    Brad.

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Product Layout Changes - Need Help!

    The file you need to modify is the following:

    includes -> templates -> YOUR CUSTOM TEMPLATE -> templates -> tpl_product_info_display

    You just have to find the section(s) you want to change and them move them around until you get the look you want. Using v1.2.7 is a little more difficult because of the tables. But if you upgrade to v1.3.0.1 things are a lot easier because the sections are clearly labeled with <!--BOF xxx--> and <!--EOF-->.

    Making changes in this template file and your CSS stylesheet, you can get the look you want.

  6. #6
    Join Date
    May 2005
    Posts
    110
    Plugin Contributions
    0

    Default Re: Product Layout Changes - Need Help!

    Thanks for the reply. I have already started altering this file and have had good progress doing so but I cannot figure out how to get the Qty Discount attribute onto the product listing page, its on the product info display page by default which is great.

    I have figured out which block of code it actually is, but trying to copy and paste that into product_listing.php doesnt work, plus I dont understand where to put it in that file.

    If there is anyone out there that is confident they can create this layout for me then I am happy to contract them to do it.

    Please help me someone :O

    Brad.

  7. #7
    Join Date
    May 2005
    Posts
    110
    Plugin Contributions
    0

    Re: Product Layout Changes - Need Help!

    Is there anyone out there that can shed some light on this?

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Product Layout Changes - Need Help!

    This peice of code is generated by several calls ...

    You have to more or less recreate these calls prior to the tpl_ call that actually displays the info ...

    This is not a 1 minute lesson ...

    search for: $products_id_current and quantity_discount ... as the peices and parts are in the peices of code that contain these ...

    If you look in the tpl_product_info_display.php you can find the final peice that displays this information ... then use it to hunt backwards to find the other calls and make your own little peice to place this anywhere you need it per product ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    347
    Plugin Contributions
    0

    Default Re: Product Layout Changes - Need Help!

    Hi there emtecmedia.

    Did you manage to get it done? I would like to display the discount info on the products lsitings page as well.

    Thanks.

 

 

Similar Threads

  1. Help Need with Product Page Layout
    By zoombee in forum Basic Configuration
    Replies: 45
    Last Post: 9 Jan 2011, 09:33 PM
  2. NEED HELP with product layout page
    By tenderdesires in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 16 Sep 2010, 10:18 PM
  3. A few changes in my shop layout! Need help
    By Mare00 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Aug 2008, 05:28 PM
  4. Need help with product layout
    By stbede77 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Aug 2006, 06:50 AM
  5. Product Layout Changes - Need Help!
    By emtecmedia in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 May 2006, 12:20 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