View Single Post
  #10  
Old 06-28-2016, 05:17 AM
  GlasPak's Avatar 
GlasPak GlasPak is offline
 

eXpert
  
Join Date: May 2015
Posts: 241
 

Default Re: how I add a new field to orders in admin area ?

Quote:
Originally Posted by qualiteam
Why don't you use the attributes page? It allows you to add a new product field (attribute) named "Pieces Per Case" and specify its value per product. The import/export function supports attributes.

Couple reasons. 1 we do use pieces per case in the attributes section (specifically for variants when they occur), but the reason we have to use this method is because

a) attributes only show up in the specifications tab, which means the quick view doesn't show the attribute unless it is a multiple input attribute

b) attributes don't show up in the main product screen unless it is a multiple input attribute

c) attributes aren't visible on the invoice unless they are multiple input attributes

You can see from the module that it inserts the ppcfield into the quick view and product screen (over the add to cart button) and it adds it to the invoice. This is really important to vendors who don't sell single items but do sell cases BUT don't want to add the pieces into the title of the product because it is inconsistent when you have a variant available for some but not all).

You can get an idea of how we sell products and why this is necessary at our website https://glaspak.com


Specifically

Example of a ppc (pieces per case) using attribute and variant - https://glaspak.com/round-1-liter-giara-swing-top-bottle.html
Example of a ppc that requires the module - https://glaspak.com/round-750-ml-dalia-swing-top-bottle.html
__________________
Business License
https://glaspak.com
GoDaddy VPS - Apache with WHM
2GB ECC DDR3 1600MHz
2x Intel E5-2630L v2 Hex Core 2.4/2.8ghz
15 MB proc cache
60 GB 10k RPM hdd
PHP 7.0.15
MariaDB 10.1.21 with InnoDB engine
Reply With Quote