Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Mar 2012
    Posts
    2
    Plugin Contributions
    0

    Default passing strings from listboxes?

    Is it possible to pass strings from list boxes to zen-cart to display in the cart? It is easier for me to build the product with its variations on my page and send the string, than to build a database of over 1000 parts, and it would save steps. I'm a newcomer to shopping carts but I can get by on php. Thanks

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: passing strings from listboxes to zen-cart

    Quote Originally Posted by thomak View Post
    Is it possible to pass strings from list boxes to zen-cart to display in the cart?
    Anything is possible, with the right code.

    Quote Originally Posted by thomak View Post
    It is easier for me to build the product with its variations on my page and send the string, than to build a database of over 1000 parts,
    I fail to see the logic in this statement. If this IS going to be easier for you then you wouldn't be asking how to do it would you? (Or are you testing to see if we know your methods?)

    Quote Originally Posted by thomak View Post
    and it would save steps.
    On what basis do you make this assumption?

    Quote Originally Posted by thomak View Post
    I'm a newcomer to shopping carts but I can get by on php. Thanks
    It seems to me that you are approaching this the wrong way. It appears that you want to force zencart into adhereing to your methods and skills, where as in practice, you should probably be adapting your knowledge and skills to fit in with the zencart way of doing things.

    Just my 2cents worth.

    Cheers
    Rod

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

    Default Re: passing strings from listboxes to zen-cart

    build the product with its variations on my page and send the string, than to build a database of over 1000 parts
    It's not an either/or situation. You need to have the parts or the products with variations in one way or another stored in your Zen Cart database. Then it is possible to make an add to cart action from a remote page, if that will really work better for you and for your customers.

  4. #4
    Join Date
    Mar 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: passing strings from listboxes?

    I am not trying to test anyone, I simply wanted to take information from list boxes and pass them thru the url to the shopping cart and display that information. I had most of that done already on the site I was building for a friend, then they wanted a shopping cart. Building a database of identical sized parts except in 6 colors just seems like too much and if the customer has to drill down on the site to locate what he wants, then go to the cart and drill down to find it again - its not smooth. Am I approaching the databas settup incorrectly?

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

    Default Re: passing strings from listboxes?

    If you insist on creating your own custom method of getting to individual products instead of using or adapting Zen Cart's method, you can build a URL that will take you directly to the final selected product in the cart, as Kuroi described in one of his posts. And yes, you are probably approaching the database incorrectly if you are making 6 individual products for a product that comes in 6 colors. You would use attributes for the colors.

 

 

Similar Threads

  1. passing parameters from poduct info page to shopping cart.
    By gmartakis in forum General Questions
    Replies: 11
    Last Post: 3 Jul 2013, 05:06 AM
  2. Passing values from another page...
    By JPrescott in forum General Questions
    Replies: 2
    Last Post: 3 Oct 2011, 06:05 PM
  3. Passing customer info from store to paypal
    By Gomlers in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 6 Aug 2011, 09:44 PM
  4. Passing price from HTML page
    By Scarlet in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 18 Sep 2009, 06:36 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