Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Quick Order

Started by dwno on 16 Apr 2007, 11:26 AM · Views: 18,912

Results 41 to 54 of 54
14 Sep 2012, 3:33 PM
#41
westdh avatar

westdh

New Zenner

Join Date:
Aug 2012
Location:
Medford Oregon USA
Posts:
44
Plugin Contributions:
0

Post #41 by westdh

I have found one install problem. Now I am getting this:

my url is: http://web-mobile-cart.com/dir/index.php?main_page=quick_order&action=add_products&model_1=Recycled+Water+Markets&qty_1=1

--------Response is:
Order Online
Name/Model Quantity
Invalid item number: Recycled Water Markets

Model: Recycled Water Markets 1

and a chain of order boxes?

14 Sep 2012, 3:49 PM
#42
westdh avatar

westdh

New Zenner

Join Date:
Aug 2012
Location:
Medford Oregon USA
Posts:
44
Plugin Contributions:
0

Post #42 by westdh

I have also installed it in: my_template_default.
And I re-checked it for any install errors
http://web-mobile-cart.com/dir/index.php?main_page=quick_order&action=add_products&model_1=Recycled+Water+Markets&qty_1=1

..now the error is:

Order Online
Name/Model Quantity
Invalid item number: Recycled Water Markets

Model: Recycled Water Markets 1
Model:
Model:
Model:
Model:
Model:
Model:
Model:
Model:
Model:
Model:
Model:
Model:
Model:
Model:

20 Feb 2013, 5:43 PM
#43
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Post #43 by mikestaps

I have this installed and working fine, except for the fact that I really need attribute support for it.....
Anyone have that figured out?
Thx

25 Sep 2014, 6:39 PM
#44
gwcorp avatar

gwcorp

New Zenner

Join Date:
Jan 2014
Location:
Fishkill NY
Posts:
4
Plugin Contributions:
0

Post #44 by gwcorp

I have this installed and it looks great. One problem: We have SSL turned on and I'm getting that security error

"Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party."

Is there a fix for this?

12 Feb 2015, 10:43 AM
#45
destruxon avatar

destruxon

New Zenner

Join Date:
Mar 2013
Posts:
16
Plugin Contributions:
0

Post #45 by destruxon

hi, ive been using this plugin since time began lol just upgraded my template to a responsive one (m_o_z_e_n_temp) using 1.5.0 and the page loads ok but my template is being ignored. i thought it was the new ajax version so tried the old version still same problem, any ideas why it would ignore my template just because its responsive, if i put my old template on it works fine!

link: http://www.hilevel1.co.uk/hilevel/index.php?main_page=quick_order

any help appreciated

Dessy

12 Feb 2015, 11:18 AM
#46
destruxon avatar

destruxon

New Zenner

Join Date:
Mar 2013
Posts:
16
Plugin Contributions:
0

Post #46 by destruxon

DOH! sorry my bad folder in wrong place, thats what happens when doing websites at stupid o'clock :blush: the old rule never take anything for granted lol

31 May 2015, 6:25 PM
#47
anduril3019 avatar

anduril3019

New Zenner

Join Date:
Dec 2006
Posts:
42
Plugin Contributions:
0

Post #47 by anduril3019

When using the pre-filled model numbers display, can the sort order be changed to either zen cart sort order or alphabetically? Or better yet, can it just use the order that the model numbers are entered in qo_settings.php.

Example:

$qo_model_array = array(
	'00541-BNDL-Q',

'00602-BNDL-Q',
'00596-BNDL-Q',
'00527-BNDL-Q',
'00558-BNDL-Q',
'00534-BNDL-Q',
'00589-BNDL-Q');

20 Jun 2015, 8:08 PM
#48
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #48 by drbyte

Assuming you're using the latest version of the quick orders module, you can make a couple edits to manage sorting:

Edit the /includes/classes/ajax/zcAjaxQuickOrder.php file ... around line 39 you'll see a section like the following. Add the lines in red, as shown:```
while (!$result->EOF) { $product_list_array[$result->fields['products_model']] = $result->fields['products_name'];
$result->MoveNext();
}

// sort specifically by the order listed in the $qo_model_array() in the config file:
$temp_array = $product_list_array;
$product_list_array = array();
foreach($qo_model_array as $key) {
$product_list_array[$key] = $temp_array[$key];
}
unset($temp_array);


// Uncomment the next line to sort by products_model
// ksort($product_list_array);


// Uncomment the next line to sort by products_name
// asort($product_list_array);

  // finally, build list of models for menu use
  if (is_array($product_list_array)) {
    $product_list_models = array_keys($product_list_array);
  }
}

EDIT:
*I've added a variation of this code to the downloadable plugin, so that all sorting can be controlled by a new setting $qo_model_sortorder in the qo_settings.php file.*

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jun 2015, 8:35 PM
#49
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #49 by drbyte

I've added a variation of the above sorting code to the latest update of the plugin, so that all sorting can be controlled by a new setting $qo_model_sortorder in the qo_settings.php file.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Jan 2016, 10:36 PM
#50
marsworldd avatar

marsworldd

New Zenner

Join Date:
Jan 2016
Location:
louisville, ky
Posts:
1
Plugin Contributions:
0

Post #50 by marsworldd

DrByte:

I've added a variation of the above sorting code to the latest update of the plugin, so that all sorting can be controlled by a new setting $qo_model_sortorder in the qo_settings.php file.

Hi - great plugin - btw is there a way to make it default to the qty of 1 after typing in the model number, etc.? I am trying to use a barcode reader and the model is the same number as the upc for now and it will read the model number, but then stops and gives an error as opposed to going on to the next line.? Any help is appreciated. Thanks

10 Jul 2016, 7:39 PM
#52
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #52 by drbyte

oavs:

Can we talk about attributes please?

Would this plugin do this >> (link to zuc ando)No. This plugin doesn't have anything to do with the regular product-listing pages as your example showed, let alone injecting attribute-selection into those listings.
As described, this plugin lets people "quick order" products by entering identifying information about the product in a grid so they can order 100 items on one page by manually typing in product models etc.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Mar 2020, 12:03 AM
#53
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Post #53 by strelitzia

Tested this module out on a clean install of 1.5.4 as that is what it's listed as supporting, but as soon as I enter a model number I get a popup that says
"An unknown response null: :text/html; charset=UTF-8: :Internal Server Error was received while processing an ajax call. The action you requested could not be completed."

No other mods installed. Server is set to PHP 5.6. Database was set to utf-8 at install. Checked all files correctly uploaded. Classic template used for testing.

Any suggestions?

Zen Cart developer since 2009 — Zen Cart Solutions
Ecommerce development, integrations & automation — Junction Solutions

3 Mar 2020, 12:57 AM
#54
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Post #54 by carlwhat

strelitzia:

Tested this module out on a clean install of 1.5.4 as that is what it's listed as supporting, but as soon as I enter a model number I get a popup that says
"An unknown response null: :text/html; charset=UTF-8: :Internal Server Error was received while processing an ajax call. The action you requested could not be completed."

No other mods installed. Server is set to PHP 5.6. Database was set to utf-8 at install. Checked all files correctly uploaded. Classic template used for testing.

Any suggestions?

the jscript_framework.php script in your template needs replacing. see:

https://www.zen-cart.com/showthread.php?221604-An-unknown-response-null-text-html-charset-utf-8-Bad-Request-was-received

play around with that file, as that is where your problem lies....

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.