Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2011
    Posts
    287
    Plugin Contributions
    0

    Default Shopping cart totals outsite folder

    My shop is based in /products/ but I was to display the shopping cart in my index file,

    If you see here: http://kitchenwarehouseltd.com/products/

    you see the shopping cart in the top right,

    I need to put this shopping cart on the http://kitchenwarehouseltd.com page.

    As this is based outside the zencart page im not too sure how?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Shopping cart totals outsite zencart folder

    OK... well you are confusing the idea of DIRECTORIES with PAGES...

    Firstly... there are no "pages" in zencart. The "pages" are generated dynamically and are built up on-the-fly by the system, depending on what actions (links) a visitor to the site clicks on.

    Your site has been set up inside a SUB-FOLDER called "products".

    The MAIN SITE is not zencart - but plain old HTML, and you are guiding visitors to the site by hard-coded links. Once they click one of these, they are actually in zencart (in the /products/ subfolder).

    If you want the site to reside in the ROOT of your server account, you need to MOVE EVERYTHING THERE and this may require that you REMOVE the original HTML site. (It will have no purpose or value once ZC is moved).

    There are tutorials on how to MOVE sites from a sub-folder to the ROOT folder.
    20 years a Zencart User

  3. #3
    Join Date
    Dec 2011
    Posts
    287
    Plugin Contributions
    0

    Default Re: Shopping cart totals outsite zencart folder

    I think I may have worded my first post terribly, Sorry! Let me try again.

    I have my zen-cart installed in the /products/ directory. I have just put the shopping cart totals in the header at the top right of the page.

    See http://kitchenwarehouseltd.com/products/
    screenshot: http://i.imgur.com/rL6i8L6.png

    I want to replicate this on the server index page which is outside the zen-cart directory. as it is outside the zen-cart directory im not sure how it would load the information, if it even could?

    Any ideas how I could make this work?

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Shopping cart totals outsite zencart folder

    This will not work because of SESSION ID issues. Once a shopper is outside of your zencart setup they are likely to lose their session ID. As the cart contents are user-specific, it all ties in with their session.

    You would be better off moving your zencart installation to the ROOT folder, and you should abandon that HTML site. zencart is designed to BE the site.

    By having it structured the way you've got it presents a load of issues, including Google indexing, so why not just move it to the Root folder and have it behave the way it was designed to behave?
    20 years a Zencart User

  5. #5
    Join Date
    Dec 2011
    Posts
    287
    Plugin Contributions
    0

    Default Re: Shopping cart totals outsite folder

    I agree! The only problem was convincing the clients that it was a logical step. As it isnt possible to have the shopping cart totals on that page they are wiling to get rid of the HTML page now

    My only worry is that I dont want to break any links as I am using CEON URI mappings other than this I think its what im going to be doing

    Thanks for your continued help schoolboy!

 

 

Similar Threads

  1. 'Shopping Cart Totals in Header' Clickable
    By rrzc in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 19 Aug 2010, 12:53 AM
  2. Shopping cart totals in header customization
    By rrzc in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 8 Jun 2010, 07:29 PM
  3. Shopping Cart Totals in Header Support
    By georgiepants in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 8 Feb 2010, 04:23 PM
  4. Shopping cart totals on all pages?
    By sjk1000 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 24 Nov 2008, 06:20 AM
  5. Shopping Cart Totals ??
    By AvieLF in forum General Questions
    Replies: 5
    Last Post: 19 Dec 2006, 09:09 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