Is there a way to add a custom field that's hidden?
Is there a way to add a custom field that's hidden?
We used custom fields in AC5.5 to track licensing information for certain software products we sold. However, those fields did not display to the customer. In AC7, I'm using product templates to create the fields I need to track but these fields are showing up on the product page. Is there any way to hide them?
- deverill
- Lieutenant (LT)
- Posts: 64
- Joined: Tue Jan 06, 2009 11:58 am
- Location: Key West, FL
- Contact:
Re: Is there a way to add a custom field that's hidden?
Just to get the discussion rolling - there are many here much smarter than I am about this...
Are these licenses for the product in general or are they different licenses for each order/customer?
If it is per-product you can use the ac_ProductCustomFields table. If it is per-order you may need to look at doing something with Order Notes and then turning them off in the store so the customer doesn't see them.
Are these licenses for the product in general or are they different licenses for each order/customer?
If it is per-product you can use the ac_ProductCustomFields table. If it is per-order you may need to look at doing something with Order Notes and then turning them off in the store so the customer doesn't see them.
Jim Sewell - Web Programmer
Trusted Tours & Attractions
Trusted Tours & Attractions
Re: Is there a way to add a custom field that's hidden?
Each software product has a single unique license identifier number (like 254, 255, etc). Based on that number, we generate license codes for our customers (with another program). The customer part we've already figured out. We just don't want the license identifier to display in the product description. It's not the end of the world if we can't fix it... it's just superfluous data that the customer doesn't need to see.
Re: Is there a way to add a custom field that's hidden?
This is easy to fix.
In the Admin side, select the Website/Content and Layout menu option.
Scroll down to your Show Product 1 scriptlet and click the Edit icon.
Scroll down through the scriptlet code until you see:
[[ConLib:ProductDescription ShowCustomFields="true"]]
Change the "true" to "false" and save it. Now any custom fields from product templates will not be visible on the customer side of the store.
Enjoy
In the Admin side, select the Website/Content and Layout menu option.
Scroll down to your Show Product 1 scriptlet and click the Edit icon.
Scroll down through the scriptlet code until you see:
[[ConLib:ProductDescription ShowCustomFields="true"]]
Change the "true" to "false" and save it. Now any custom fields from product templates will not be visible on the customer side of the store.
Enjoy

Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com