ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Recent Products remove text
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Recent Products remove text

 Post Reply Post Reply
Author
Message
shiny View Drop Down
Groupie
Groupie
Avatar

Joined: 29-September-2007
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote shiny Quote  Post ReplyReply Direct Link To This Post Topic: Recent Products remove text
    Posted: 20-July-2008 at 5:32am

Hi Can anyone help me I think my recent products list looks a little untidy and uses up too much space ........so I would really like to remove the text of the image title to just show the image ( I don't think it needs intro ) or alternatively limit the characters of the text ..............if you want to take a look view a gallery page and open a few thumbs via this link........

http://www.shiningimagegallery.com/productcart/pc/viewCategories.asp?idCategory=129


Thanks much



Edited by shiny - 20-July-2008 at 6:30am
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 20-July-2008 at 7:35am
Hi,
 
in pc/smallRecentProducts.asp

Look for the following lines :


                                'Image size
                                pcIntSmImgWidth = 25
                                ' End get product image
                               
                                'Show SKU?
                                pcIntShowSKU = 0
                               
                            %>
                            <div style="clear:both; padding-bottom: 5px;">
                                <a href="viewPrd.asp?idproduct=<%=tmpVPrdArr(0,tmpIndex)%>"><% if pcvStrSmallImage <> "hide" then %><img src="catalog/<%=pcvStrSmallImage%>" width="<%=pcIntSmImgWidth%>" align="middle" style="border:none; padding-top: 2px; padding-bottom: 5px; padding-right: 4px;"><% end if %><%=ClearHTMLTags2(tmpVPrdArr(1,tmpIndex),0)%></a><% if pcIntShowSKU=1 then%><div class="pcSmallText"><%=pcvStrSku%></div><%end if%>
                            </div>


- If you remove the following from the last line it will remove the descriptions:

<%=ClearHTMLTags2(tmpVPrdArr(1,tmpIndex),0)%>


You may want to take advantage of losing the description on the left and increase the image size, in which case amend the value of pcIntSmImgWidth at the top of that same section.




Edited by Hamish - 20-July-2008 at 7:39am
Back to Top
shiny View Drop Down
Groupie
Groupie
Avatar

Joined: 29-September-2007
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote shiny Quote  Post ReplyReply Direct Link To This Post Posted: 20-July-2008 at 10:13am
Hi Hamish

Thank You very much that so much better ....had a bit of trouble repositioning but realised now it was just css ....thank you again for your time you are a real Star
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 20-July-2008 at 11:03am
Hi Shiny,
   No problem at all, I enjoy solving problems & frequently learn more about ProductCart through the forum.
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.031 seconds.