ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - pcShowProductsM Customization
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

pcShowProductsM Customization

 Post Reply Post Reply
Author
Message
nepcosignsupply View Drop Down
Newbie
Newbie


Joined: 13-April-2011
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote nepcosignsupply Quote  Post ReplyReply Direct Link To This Post Topic: pcShowProductsM Customization
    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
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 13-April-2011 at 11:57am
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>&nbsp;</td>
    <td>SKU</td>
    <td width="70%">Description</td>
    <td width="15%" align="center">Price</td>
 </tr>
Back to Top
nepcosignsupply View Drop Down
Newbie
Newbie


Joined: 13-April-2011
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote nepcosignsupply Quote  Post ReplyReply Direct Link To This Post Posted: 13-April-2011 at 1:56pm
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
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 13-April-2011 at 2:01pm
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 %>
 
 
Back to Top
nepcosignsupply View Drop Down
Newbie
Newbie


Joined: 13-April-2011
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote nepcosignsupply Quote  Post ReplyReply Direct Link To This Post Posted: 13-April-2011 at 2:43pm
Alright thank you that worked!
Here's what I did to fix it, if anyone else is wondering:

<% if pShowSmallImg <> 0 then %>
                                <td>&nbsp;</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>
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.