an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Showing and using a custom field data
Last Post 5/7/2012 10:31:45 AM By Bahram. 5 replies.
1/12/2011 4:31:27 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Showing and using a custom field data
 Hi Luke,
 
I want to liink to another page for each product. So i created a custom field to reserver url. my question is
 
How can I show/hide this custom filed on Product Page. 
 
What control in DSC suite activates it. 
 
Thanks,
1/13/2011 10:14:12 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Showing and using a custom field data
Custom field is not exposed to Product page by default. You will need to add code to display it.
DotShoppingCart Staff
1/13/2011 12:43:44 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Showing and using a custom field data
 What is the class or id or any clue to use it in the code?
1/13/2011 4:33:00 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Showing and using a custom field data
 Basically you must provide a sample code or class for custom field display and use 
5/4/2012 2:17:02 PM
Travis
Posts: 21
Joined: 12/18/2007
Re: Showing and using a custom field data
If I made a custom field "Color Shown"
what would be the code to display that on client side?
 
%%ColorShow%%
 
Is that it?
 
I have no idea about programming, please forgive me if my question is way too rudimentary.
 
 
5/7/2012 10:31:45 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Showing and using a custom field data
If the field has already data feed from database then you need to show it on a html block on any page you like :
 

<td style = "padding-left:15px;text-align:left;font-weight:bold;font-size:8pt;" width="220">
<div style>%%ProductName%% </div>

 

 

<div style = "margin-top:10px;height:70px;font-weight:normal;font-size:8pt;">%%ShortDescription%%</div>
</td>

 

<td><div class="ProductSummaryText">
<div style = "text-align:center;font-weight:Bold;font-size:8pt;">
%%SKU%%</div>
</div>
</td>