Thread: Quick Order

Page 1 of 2 12 LastLast
Results 1 to 10 of 54

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Posts
    1,649
    Plugin Contributions
    2

    Default Quick Order

    This module will let your customers add multiple products to cart at once by inserting the products' model numbers and quantities for the order into a simple form.
    You will also be able to add any amount of products to cart by entering an URL, see readme for more details.

    This mod assumes that product models are unique.
    The mod does not work with attributes since products with attributes do not currently have a unique ID for each attribute variation in Zen-Cart.

    Get the latest version from the Zen-Cart downloads area

  2. #2
    Join Date
    Jan 2005
    Posts
    1,649
    Plugin Contributions
    2

    Default New release of Quick Order

    Version 1.2.3 is now available for download.
    Get the latest version of Quick Order.

    Changelog:
    1.2.3 (2007.04.16) - Modified by Eivind E. Valderhaug

    - Properly display path in breadcrumbs (Home :: Order Online).

    - Set optional limit and order-by clause in config file (qo_settings.php) for similar matches results when product models are not found.
    Previously if a product model was not found, all products that had similar product models would be displayed.
    This can now (easily from the config file) be limited to a number and the result can be ordered by one or more columns in the products or products_description tables.
    - Use common html header instead of custom header.
    The downside is that the custom css file won't get included unless it's copied to the current template css directory.

  3. #3
    Join Date
    Jan 2005
    Posts
    1,649
    Plugin Contributions
    2

    Default Re: Quick Order

    Just a notice for those also using the SEFU mod by Tim Kroeger: See this post for how to get these 2 mods to work together properly.
    I haven't verified this because I don't use the SEFU mod.

  4. #4
    Join Date
    Feb 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: New release of Quick Order

    Thank you, Thank you, I will definitly support this module!! Its a lifesaver for me.. I was hoping you could also consider the following, have Quick order as an option on the account menu only after the user logs in. In addition would it be possible to also add prices to the columns in the form.
    currently I made the modifications to put Quick Order as a static page in the header from previous posts, but I really would like it to appear under accounts but only after login.

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

    Default Re: Quick Order

    I would like to add a second Quick Order form to my site. I see just above that someone else tried this for Firehouse Subs Restaurants, but had problems. Perhaps they can report back if they solved the problems? And if they could share what they modified to make a second form work, that would be greatly appreciated.

    Thanks,

    Rob

  6. #6

    Default Re: Quick Order

    Quote Originally Posted by rstevenson View Post
    I would like to add a second Quick Order form to my site. I see just above that someone else tried this for Firehouse Subs Restaurants, but had problems. Perhaps they can report back if they solved the problems? And if they could share what they modified to make a second form work, that would be greatly appreciated.

    Thanks,

    Rob

    Rob,

    I have had a some difficulty in my many attempts to configure a second form. Here is what I did:

    I started by modifying filenames from qo_ to fhs_qo_. Then I modified each of the files to reference the new filenames in the appropriate places and the form worked.

    Later, I heard from one of our customers that the form was cutting off the orders (Uh, oh!) and quickly realized that there was a problem with the error messages. If a customer inputs an incorrect item code the form gives a list of 20 or more products that are not in any way related. I also found that the form will not add products from my preselected list if the user skips products and selects only the ones he wants. The funny thing is that these problems do not occur when using firefox, only using IE.

    So I am close, but I have not fixed the problem completely. If you would like to see the live version, go to hotshotshotsauce.com and register for an account with Zen-Cart support as the company name and I will approve you. Corporate wants this fixed yesterday and is putting pressure on me to fix it or take the form down, so you may only have a short amount of time before I have to remove it. I hope we can solve this before then.


    Matt
    Last edited by mbheald; 15 Nov 2007 at 03:57 AM.
    Matthew Heald
    All Hot N' Bottled - Retail
    http://hotnbottled.com

    Hot Shots Hot Sauce - Wholesale
    http://hotshotshotsauce.com

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

    Default Re: Quick Order

    Thanks for the update Matt. I'll watch this space in hopes you succeed. It seems that it's way over my coding abilities.

    Rob

  8. #8
    Join Date
    Jan 2007
    Posts
    35
    Plugin Contributions
    0

    Idea or Suggestion Re: Quick Order

    Quote Originally Posted by dwno View Post
    The mod does not work with attributes since products with attributes do not currently have a unique ID for each attribute variation in Zen-Cart.

    :
    Guess what, I am trying to solve this problem and in the process have discovered something in functions_general.php:

    function zen_get_uprid($prid, $params) creates that unique "productid & attribute mix identifier" that is inserted into the cart.

    function zen_get_prid($uprid) is used to extract the product ID from this identifier, but can be adapted to take it apart if necessary.

    This could be a perfect way to define a unique product/attribute mix to be put into cart with the "single click URL" feature of Quick Order.

    You can see the actual use in actionAddProduct in includes/classes/shopping_cart.php

    I know, I know, you are thinking "if you are such a smartass to have done all this research, why don't you make it happen?"

    Well, because I have never written more than 6 lines of PHP code, and this one would effectively require one to create an admin version of the cart - with the "product+attribute mix ID" field...
    I just hope someone ;-) will find this useful and just GOES FOR IT


  9. #9
    Join Date
    Jan 2005
    Posts
    1,649
    Plugin Contributions
    2

    Default Re: Quick Order

    I'm afraid it's not that easy. Besides, even if it was you'd have to enter things like "59:3b270c58dc0fb4406c0036abeb0b41d4" into the input fields to specify the product "model" for a given attribute variation, and I don't think most customers would be comfortable with that. ;)

    Why it's not so easy? Because the function you mention uses md5 encryption (can't be decrypted) on the attribute data to make it unique and so you would need a md5-hash-to-attribute-variation mapping that maps all possible attribute variations to their respective md5 hashes. That's a bad idea though for several obvious reasons. There are better ways of doing it, but it involves too much work for me to do for free anyway and I have no idea how much time it would take. I guess SKU-support would deal with this issue.

    Btw, the only thing zen_get_prid() is removing the attribute md5 hash to return the product ID of the base product (without attributes).

  10. #10
    Join Date
    Jan 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: Quick Order

    Quote Originally Posted by dwno View Post
    I'm afraid it's not that easy. Besides, even if it was you'd have to enter things like "59:3b270c58dc0fb4406c0036abeb0b41d4" into the input fields to specify the product "model" for a given attribute variation, and I don't think most customers would be comfortable with that. ;)

    Why it's not so easy? Because the function you mention uses md5 encryption (can't be decrypted) on the attribute data to make it unique and so you would need a md5-hash-to-attribute-variation mapping that maps all possible attribute variations to their respective md5 hashes. That's a bad idea though for several obvious reasons. There are better ways of doing it, but it involves too much work for me to do for free anyway and I have no idea how much time it would take. I guess SKU-support would deal with this issue.

    Btw, the only thing zen_get_prid() is removing the attribute md5 hash to return the product ID of the base product (without attributes).
    Got it. I missed the MD5 angle. Damn! - it was such a beautiful dream...

    Granted, I use Quick Order not in the way you intended - I never display the form, just generate the URLs that are later embedded into my Wordpress pages, sort of "1-click Add-to-Cart".

    Oh well, some day, when I am better at PHP...

    BTW, you still get my eternal gratitude for Quick Order as it is

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Quick Order - How to change sort order?
    By anduril3019 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 20 Jun 2015, 09:09 PM
  2. v138a Quick Re-order aka order_history.php history beyond last order
    By beyerg in forum Customization from the Admin
    Replies: 1
    Last Post: 24 Jan 2012, 11:14 PM
  3. Quick Order
    By medgollc in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 27 Dec 2010, 06:20 PM
  4. Quick Re-order
    By LoriW. in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 30 Sep 2007, 07:17 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