![]() |
pcShowProductsM Customization |
Post Reply ![]() |
Author | |
nepcosignsupply ![]() Newbie ![]() Joined: 13-April-2011 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 13-April-2011 at 11:46am |
Hello everyone,
I wanted to know in the pcShowProductsM table, I want to be able to customize the SKU field so its length does not cut off to a second line when the SKU is a bit too lengthy. Is there a way to customize this column so its full length can be displayed at 100%? Thanks |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
Well, briefly, this code exists in the viewcategories.asp file. You probably need to mess with the TD tag for SKU, and perhaps with your CSS settings, in order to adjust column widths.
<tr class="pcShowProductsMheader">
<td> </td>
<td>SKU</td> <td width="70%">Description</td> <td width="15%" align="center">Price</td> </tr> |
|
![]() |
|
nepcosignsupply ![]() Newbie ![]() Joined: 13-April-2011 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Thanks, but unfortunately there's no code to what you're posting in viewcategories.asp
The only piece I was able to find was - <tr class="pcShowProductsMheader"> <td colspan="<%if iShow=1 then%>5<%else%>4<%end if%>"> <% response.write dictLanguage.Item(Session("language")&"_viewCat_P_12") %> </td> </tr> If it helps, I'm using ProductCart v4.1 SP 1 Thanks |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
Right. there are tokens that reference entries in the languages.asp file for the actual words.
The piece that display sku is specifically this:
<% if pShowSku <> 0 then %> <td> <% response.write dictLanguage.Item(Session("language")&"_viewCat_P_8") %> </td> <% end if %> |
|
![]() |
|
nepcosignsupply ![]() Newbie ![]() Joined: 13-April-2011 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Alright thank you that worked!
Here's what I did to fix it, if anyone else is wondering: <% if pShowSmallImg <> 0 then %> <td> </td> <% end if %> <% if pShowSku <> 0 then %> <td width="15%"> <% response.write dictLanguage.Item(Session("language")&"_viewCat_P_8") %> </td> <% end if %> <td width="70%"> <% response.write dictLanguage.Item(Session("language")&"_viewCat_P_9") %> </td> <td width="15%" align="center"> <% If session("customerType")="1" then response.write dictLanguage.Item(Session("language")&"_viewCat_P_11") else response.write dictLanguage.Item(Session("language")&"_viewCat_P_10") end if %> </td> |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |