Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2009
    Location
    Boston, MA
    Posts
    6
    Plugin Contributions
    0

    Default Need to display Zen-cart products inside a div

    Hello,

    I'm trying to display Zen-cart products inside a div. Is that possible? How would one go about doing that?

    Or do I need to build my layout AROUND Zen-cart's layout?

    I would really appreciate any help or advice you could offer. Thanks in advance!

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Need to display Zen-cart products inside a div

    A little more information, please. Are you trying to use parts of Zencart inside another site? If so, it's not a good idea. Zencart is intended to be, and works best as, a stand-alone application.

  3. #3
    Join Date
    Nov 2009
    Location
    Boston, MA
    Posts
    6
    Plugin Contributions
    0

    Default Re: Need to display Zen-cart products inside a div

    I'm basically just trying to have a page with a vertical nav on the left listing all of the product categories (I've created this nav), and I want it so when you click a category it loads and my vertical nav stays on the page, instead of going to JUST a zencart products page.

    Do you know how I could do that?

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Need to display Zen-cart products inside a div

    I might be able to do it (if I understand the question), but I wouldn't. Let's see a link to your site.

    It's important to realize that Zencart can't be a back-end cart script for your existing site.

  5. #5
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Need to display Zen-cart products inside a div

    Quote Originally Posted by Ryan Greenlife View Post
    I'm basically just trying to have a page with a vertical nav on the left listing all of the product categories (I've created this nav), and I want it so when you click a category it loads and my vertical nav stays on the page, instead of going to JUST a zencart products page.
    What you'vce just described is the normal behaviour of Zen Cart. So I'm as confused as stevesh. What exactly have you done so far? A link to your site would be very useful to us in helping you.

    Rob

  6. #6
    Join Date
    Nov 2009
    Location
    Boston, MA
    Posts
    6
    Plugin Contributions
    0

    Default Re: Need to display Zen-cart products inside a div

    This is the page with my menu on it:
    http://www.greenlifegardensupply.com/indexcopy.html

    As you can see, when you click on a category it leads you to a zen-cart-only page which displays the products. I need to get the menu I made into the zen-cart layout, so it is on the same page as the listed products.

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

    Default Re: Need to display Zen-cart products inside a div

    What do you think you're gaining by building your pages from scratch when you could achieve the identical appearance and functionality (and more) by modifying the Zen Cart template?

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Need to display Zen-cart products inside a div

    That wouldn't be that difficult to recreate in Zencart.

    One of the issues you may have doing it your way is the possibility of sessions problems when switching back and forth between Zencart and non-Zencart pages.

    You would have to recreate the Categories sidebox by creating the categories and products in Zencart admin, and if you're going to do that, you may as well make the whole thing Zencart.

  9. #9
    Join Date
    Nov 2009
    Location
    Boston, MA
    Posts
    6
    Plugin Contributions
    0

    Default Re: Need to display Zen-cart products inside a div

    I don't NEED to have it all in a new page that I created if that's not going to work. I guess my question, then, is how do I change the Zencart template to have my menu in it?

    What file do I have to add my menu to?

  10. #10
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Need to display Zen-cart products inside a div

    You don't. You'll need to stop thinking in terms of static HTML pages and start thinking about dynamic PHP pages that are built on the fly. (That's not a criticism - we all had to make that leap in the beginning.)

    You'll create your categories in Zencart by adding them and your products in Admin - Catalog.

 

 

Similar Threads

  1. How to display products inside a defined page?
    By whosleonard in forum General Questions
    Replies: 3
    Last Post: 7 Mar 2011, 04:23 PM
  2. Using Zen Cart for Secret Santa? Details Inside.
    By solarguy in forum General Questions
    Replies: 3
    Last Post: 29 Sep 2010, 08:09 PM
  3. Running Zen-Cart in a <div>
    By kontron in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Feb 2009, 11:53 PM
  4. Installing a Photo gallery that opens inside Zen Cart
    By jgatlin in forum General Questions
    Replies: 0
    Last Post: 16 Jun 2008, 01:25 AM
  5. Open external page inside Zen Cart
    By Moskovo in forum General Questions
    Replies: 6
    Last Post: 7 May 2008, 11:29 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