Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Posts
    26
    Plugin Contributions
    0

    help question Re: Help Query - How can I clone a Cart to have a different set of items

    Quote Originally Posted by gjh42 View Post
    Who decided that you/they needed separate carts for the three functions? I know other festivals where admission tickets and artists or dealers use separate categories (and separate paths to get to them) on one main website. See my festival site for an example.
    All you really need to do is create separate portal pages (ez-pages can work well) for the different destinations. You would not use one overall categories menu, but link directly to the relevant categories.
    This sounds much simpler. I have created a 2nd category for my dealer's room and added one item to test with. Right now when I go to my convention registration cart it goes to that category and lists the two items in it (Children and Adult). The URL is a pointer to the zencart directory. How do I set up the pointer to point at my dealer's room category as you suggest? Once I do that I can create the 2 needed categories and populate them and supply separate URLs for each category (as well as setting up the Registration URL in the same way).

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

    Default Re: Help Query - How can I clone a Cart to have a different set of items

    What is the category id of your dealers room? You can just put that in the URL in place of the existing category id to get the proper link.
    I would have to see how you have these links set up to advise on the best way to add new links.

  3. #3
    Join Date
    Feb 2011
    Posts
    26
    Plugin Contributions
    0

    help question Re: Help Query - How can I clone a Cart to have a different set of items

    Quote Originally Posted by gjh42 View Post
    What is the category id of your dealers room? You can just put that in the URL in place of the existing category id to get the proper link.
    I would have to see how you have these links set up to advise on the best way to add new links.
    The URL to get the current Registration Category items is http://www.lunacon.org/zencart/. This is a redirect from http://registration.lunacon.org/ (either works).

    This is category 65. I have a second set of items as category 66 for dealers. I also have an empty 67 which will be Art Show.

    Note that there is no parm being passed and it seems to default to cat 65 automatically.

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

    Default Re: Help Query - How can I clone a Cart to have a different set of items

    It's category 66 which is displaying: id="cat66Table".
    What do you have for admin > Configuration > Layout Settings > Categories - Always show on homepage and Main Page Opens with category?
    You can get to the other categories by specifying their URL: lunacon.org/zencart/index.php?main_page=index&cPath=67 goes to the Dealers category listing.

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

    Default Re: Help Query - How can I clone a Cart to have a different set of items

    I presume you will want the dealers cart link from the Dealers Room page, and the art show cart link from the Art Show page?

    When you go to any of those categories, there will be no way to get to the others without actually entering the URL in the address bar; this should be good for your purpose.

    BTW, I noticed some invalid HTML (broken code)
    Code:
    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">
      <tr>
    
     <td id="navColumnOne" class="columnLeft" style="width: 150px">
    <div id="navColumnOneWrapper" <style="width: 150px"></div></td>
        <td
    <!-- bof upload alerts -->
    
    <!-- eof upload alerts -->
    These tags are left open, due to some prior editing, possibly in tpl_main_page.php, or maybe column_left.php?

    Actually, this
    <div id="navColumnOneWrapper" <style="width: 150px">
    is supposed to be one div tag. Somebody inserted a < before the style attribute.
    <div id="navColumnOneWrapper" style="width: 150px">
    Last edited by gjh42; 12 Jan 2012 at 04:22 PM.

  6. #6
    Join Date
    Feb 2011
    Posts
    26
    Plugin Contributions
    0

    Default Re: Help Query - How can I clone a Cart to have a different set of items

    Quote Originally Posted by gjh42 View Post
    I presume you will want the dealers cart link from the Dealers Room page, and the art show cart link from the Art Show page?

    When you go to any of those categories, there will be no way to get to the others without actually entering the URL in the address bar; this should be good for your purpose.

    BTW, I noticed some invalid HTML (broken code)
    Code:
    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">
      <tr>
    
     <td id="navColumnOne" class="columnLeft" style="width: 150px">
    <div id="navColumnOneWrapper" <style="width: 150px"></div></td>
        <td
    <!-- bof upload alerts -->
    
    <!-- eof upload alerts -->
    These tags are left open, due to some prior editing, possibly in tpl_main_page.php, or maybe column_left.php?

    Actually, this
    <div id="navColumnOneWrapper" <style="width: 150px">
    is supposed to be one div tag. Somebody inserted a < before the style attribute.
    <div id="navColumnOneWrapper" style="width: 150px">
    Thanks for pointing out the coding error. I will look at the two scripts and fix it.

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

    Default Re: Help Query - How can I clone a Cart to have a different set of items

    You don't actually need to change those admin settings or the existing link to member registration. The new direct page links will work fine with the existing settings left as is, and not having the parameters in the URL for the one link is nice (though not really important).

    Though if it matters, with the existing settings, the dealers and art show categories will have the home link that goes to the member registration page. This might actually be desirable, as dealers etc. need to be members as well.

  8. #8
    Join Date
    Feb 2011
    Posts
    26
    Plugin Contributions
    0

    Default Re: Help Query - How can I clone a Cart to have a different set of items

    Quote Originally Posted by gjh42 View Post
    It's category 66 which is displaying: id="cat66Table".
    What do you have for admin > Configuration > Layout Settings > Categories - Always show on homepage and Main Page Opens with category?
    You can get to the other categories by specifying their URL: lunacon.org/zencart/index.php?main_page=index&cPath=67 goes to the Dealers category listing.
    Thank You.

    That was EXACTLY what I needed.

    I will add the index.php?... to the URL for each of the three links to the respective Zen Carts and that will get me to the respective carts pages.

    Since the Main Page Opens setting was 66, I was always going there and the person who originally installed the site (and who I assumed responsibility from) had the link default to that category via the setting instead of having the parms in the URL. That was what I needed to know (ie: Need to supply the index.php with parms,

    THANK YOU for the hand holding and I should be able to handle the rest by myself.

 

 

Similar Threads

  1. v139h how many Flate rate clone can i have?
    By tony_sar in forum Addon Shipping Modules
    Replies: 3
    Last Post: 18 Apr 2012, 02:21 PM
  2. How to create a Cart with a different set of items
    By rarpsl in forum Basic Configuration
    Replies: 0
    Last Post: 13 Dec 2011, 06:05 AM
  3. Can I have two different checkout methods dependent upon the qty of items in cart?
    By kbascombe in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 28 Aug 2009, 05:28 PM
  4. How do i set shipping cost of different products and its different items?
    By jinit in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 4 Feb 2009, 09:23 PM
  5. How to Set Different Shipping Price for Different Items
    By metakomm2 in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 2 Jan 2007, 05:33 AM

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