Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 ASP (Windows server) versions
 Add New Product Detail Field
Author « Topic »  

gwilson
Starting Member

44 Posts

Pre-sales questions only
(More Details...)

Posted - 08/05/2019 :  16:55:11  
I need an additional Product Detail Field, similar to the Product Weight.
"Product Dimensions"
Is there a mechanism in ECT to add a new field (without having to change the database or adminprods.asp?

1818charlie
ECT Moderator

United Kingdom
1179 Posts

Posted - 08/05/2019 :  17:16:19  
You could utilise the Custom Fields feature

Steve
Using ECT PHP versions since 2004 / 5

gwilson
Starting Member

44 Posts

Pre-sales questions only
(More Details...)

Posted - 08/05/2019 :  18:13:08  
OK Terrific. Can you point me toward where I can find more info on the Custom Fields Feature?
Thanks, Much appreciated

dbdave
ECT Moderator

USA
10269 Posts

Posted - 08/05/2019 :  18:29:41  
There is some info here - https://www.ecommercetemplates.com/help/css-layouts.asp#proddetailorder
You will need to be using css layouts (most sites are these days).

There is a good thread here - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=100903

1818charlie
ECT Moderator

United Kingdom
1179 Posts

Posted - 08/05/2019 :  18:30:46  
Head to the downloads page and grab the version 7 User Manual https://www.ecommercetemplates.com/free_downloads.asp#usermanual and go to page 185

Steve
Using ECT PHP versions since 2004 / 5

Edited by - 1818charlie on 08/05/2019 18:32:04

gwilson
Starting Member

44 Posts

Pre-sales questions only
(More Details...)

Posted - 08/06/2019 :  22:28:32  
So far so good. I have the custom1 and custom2 showing up in my Admin Products, and on the selected product detail page.
However, the line of text is not positioned correctly, nor formatted.
I poked around in the CSS but not sure how to construct and CSS id to correspond to Custom1.

Also, I'm needing to get the pCustom1 value from the db and move it to a hidden HTML tag, to be picked up by a JQuery addin I'm working on.

thanks,

Phil
ECT Moderator

United Kingdom
7617 Posts

Posted - 08/07/2019 :  02:25:08  
Hi,
These are the available classes below:

div.detailcustom1
div.detailcustom2
div.detailcustom3

So may want something like div.detailcustom1, div.detailcustom2{float:left;width:99%; color:#ff0000; font-weight;bold;}



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 08/07/2019 02:31:41

gwilson
Starting Member

44 Posts

Pre-sales questions only
(More Details...)

Posted - 08/07/2019 :  13:35:04  
Phil - i can not get the div.detailcustom1 css to change the style or position. I do see the <div tag label in the view source in the browser.

In the meantime, another head-scratcher: in my product detail page I was able to get the value of pCustom1 from rs("pCustom1") and write it the browser as a hidden value.
I then write jquery code to the browser for my price changing feature, which updates the price display : $("#pricediv0").text((ui.value * newHeight * pricePerSqInch).toFixed(2));

Nice. This is so elegant. However, ADD TO CART! I'm not sure where if it I can pass the new price value from the client to cart asp code to add to the shopping cart.
any suggestions there?

gwilson
Starting Member

44 Posts

Pre-sales questions only
(More Details...)

Posted - 08/07/2019 :  13:55:26  
On the CSS. It was Chrome. It works in Firefox and IE. Thanks
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000