[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
foodclub.org • View topic - display field on order screen
Page 1 of 2

display field on order screen

PostPosted: Thu Sep 18, 2014 1:27 pm
by k8inmd
on my order screen - how can i choose what columns to include / exclude? for instance I do not want to list and see sub-category - how do i remove it from the display?

Add to Order Qty Code Category Subcategory Manufacturer Product Description Size Price * Unit Price
f2 Bacon 10.00 n/a
f11 Boston Butt 10.00 n/

Re: display field on order screen

PostPosted: Thu Sep 18, 2014 8:27 pm
by support

Re: display field on order screen

PostPosted: Wed Sep 24, 2014 4:17 pm
by k8inmd
Trying to show the short description on an order screen but having no luck with this one.... help?

thanks

Re: display field on order screen

PostPosted: Wed Sep 24, 2014 5:43 pm
by support
The short_description field is not available really anywhere in the system except for Simple sorting sheet. It is sort of a bug, too, because Simple sorting sheet pulls it from the current product database, rather than what that item code was when it was ordered.

So if your item codes changed between when someone ordered something, and viewing the item on Simple sorting sheet, it could show an incorrect short_description. This has happened before with Mt. Rose Herbs, where the regional database (user-maintained) has item codes that change each month.

Probably too much information for you, but the short answer is: I recommend you not use short_description; just use description instead, or if you have another unused field (like manufacturer or sub_category2), you can put short description info in there and rename the column header.

Re: display field on order screen

PostPosted: Thu Sep 25, 2014 8:05 am
by k8inmd
got it - thanks

Re: display field on order screen

PostPosted: Thu Sep 25, 2014 8:18 am
by k8inmd
oops - ok - i put it in sub category 2 and am displaying it but I want that column after description.....how do i change column order?

Re: display field on order screen

PostPosted: Thu Sep 25, 2014 8:28 am
by k8inmd
more trouble - its also a 'clickable' field - which I don't want :( Should I just make another field 'text' and change the header then?

Re: display field on order screen

PostPosted: Thu Sep 25, 2014 8:30 am
by k8inmd
never mind - I figured it out - sorry to bother you :)

Re: display field on order screen

PostPosted: Thu Sep 25, 2014 8:33 am
by k8inmd
well - guess i dont have permission to make these changes - i get an 'alter' command error....

so - i am going to stop messaging you now - please tell me how to adjust this.

thanks for all your help

Re: display field on order screen

PostPosted: Thu Sep 25, 2014 9:58 am
by support
You cannot change the order that columns display on the page using CSS, since that is done by the dynamic HTML. Do you really need them to show in a certain order? Can you tell me which of your sources you are doing this in, so I can take a look? Also, describe exactly what you are trying to do, so I can come up with the best solution.