Order directly on productnumber in your shoppingcart

In the shoppingcart it is possible to make direct orders when the customer knows the productnumbers of the products he or she wishes to order. For this purpose three extensions exist:

  • myshop-control:product-id
    displays an input field for filling in the desired productnumber
  • myshop-control:quantity
    displays an input field for filling the desired quantity
  • myshop-action:order
    the action needed to order on productnumber

This functionality is only available in the shoppingcart template and requires a explicit index on productnumbers (currently this index is created when you enable related products).

Alternatively it is possible to use an alternative index column instead of the productnumber. This column should be an indexed column (which can be achieved by enabling it in the advanced search function) and can be addressed with the following extension (note that this extensions comes in place of myshop-control:product-id if used):

  • myshop-control:product-id-
    the alternative product id column, replace with the name of your desired column.


Below is a simple example on how to use this functionality.

Order directly on productnumber: 
<input style="myshop-control:product-id"/>&nbsp;
qty: <input style="myshop-control:quantity-on-product-id"/>&nbsp;
<input type="button" style="myshop-action:order-on-product-id" value="order"/>


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment