Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Does anybody know a way to sort items on a packing slip (or invoice) by attribute.

 

ie: if a catalog contained 3 items(cups bowls and plates) each in 3 colors(red blue green); could they be listed on a packing slip in this order?:

 

cup 3

-red

bowl 4

-red

plate 2

-red

cup 1

-blue

bowl 5

-blue

plate 3

-blue

cup 2

-green

bowl 5

-green

plate 3

-green

 

It seems like I just need to use a php sort function on a variable on that page before the loop but it's kicking my rear. I can't figure out the oscommerce variable and array structure. Is it that simple or am I naive? Help me Ben Kenobi your my only hope.

 

Cheers,

Monkey

  • 4 years later...
Posted

*bump bump bump*

 

also trying to do this - any great insight? am searching the forum first before trying to delve into the code - any ideas???

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...