Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2007
    Posts
    41
    Plugin Contributions
    0

    Default using sidebars outside of the store

    I have my zen carts store based at /store/ and i have the information part of my site in the root.

    Originally the idea was to have the store and information side of the site very seperate, but now they want them more combined, but they also want to have the information site updatable by themselves. They are going to be using contribute because its easy for them...

    So what i want to do is somehow access the side boxes in a page that is outside of the store. When they use the links they are forward through to the store. Is there anyway to use the existing code, or do i need to create new separate connection to the database and set up the side box.

    I can do this for the manufacturers and the products, but not sure about it for the shopping basket...

    Any ideas?

    Might have to use easy pages with includes but then the client will not have the best view of the page when they are editing...

    Any help is greatly appreciated...

    Thanks

    Rob

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: using sidebars outside of the store

    http://www.zen-cart.com/index.php?ma...products_id=79
    External sidebox mod from above my suit your needs

  3. #3
    Join Date
    Mar 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: using sidebars outside of the store

    wow, that was quick.

    Just having a look now, thanks very much!

    Rob

  4. #4
    Join Date
    Mar 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: using sidebars outside of the store

    Im having trouble getting this to function correctly.

    I ammended the code inside the sidebox.php to point towards application_top.php but when it finds it it tries to run the zen carts installer, which has been removed to it simply says that the file cannot be found.

    Any ideas?

  5. #5
    Join Date
    Mar 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: using sidebars outside of the store

    Basically, when i do this it looks at the application_top.php, but looks at it as if it was in my rot folder so its not finding any of the bits it tests for so it tries to run the installer. Everything to do with the sidebox, is looking at the root folder rather that the store folder. How can i change this?

  6. #6
    Join Date
    Mar 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: using sidebars outside of the store

    Has anyone managed to get the external sidebox module working?

  7. #7
    Join Date
    Jun 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: using sidebars outside of the store

    Hey Greybeard,

    I got it working but it's not following the CSS of the rest of the site.

    http://www.surfworldireland.com/onli...le_sidebox.php

    If anyone knows how i can fix this... greatly appreciated!

  8. #8
    Join Date
    Mar 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: using sidebars outside of the store

    I have this working now. I had to move everything within the /store/ folder and to get the css working ok, i added the neccessary code from the zencarts css file to my sites css. And its now all working great...

 

 

Similar Threads

  1. Create an SSL accessible page outside the store and then use ez-pages to link to it
    By tonyreaper in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 27 Nov 2012, 12:37 AM
  2. Can I check whether a customer has an account, from outside the store?
    By Sjolie in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 May 2012, 07:21 PM
  3. Accessing DB/Functions Outside the Store?
    By suntower in forum General Questions
    Replies: 1
    Last Post: 4 Aug 2011, 06:15 PM
  4. can I display new product listing outside of the store?
    By szarin in forum General Questions
    Replies: 2
    Last Post: 19 Jun 2011, 07:37 PM
  5. Adding item to cart from a button outside of the store.
    By dwolfe in forum General Questions
    Replies: 1
    Last Post: 27 Jan 2011, 02:38 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