Print Page | Close Window

How to hide SKU & weight

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1301
Printed Date: 22-April-2025 at 7:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to hide SKU & weight
Posted By: cysayles
Subject: How to hide SKU & weight
Date Posted: 13-January-2008 at 12:59pm
How can I hide the SKU & weight that appears in product detail and is it possible for the AJAX popup?

I searched the forum and the only suggestion didn't work for me.

Cy


-------------
cy



Replies:
Posted By: Greg Dinger
Date Posted: 13-January-2008 at 9:04pm

in the scripts viewprdc.asp, viewprdl.asp, and viewprdo.asp you will note references to theASP subroutines named "pcs_ShowSKU" and "pcs_DisplayWeight".

Place an apostrophe (') in front of either and that sub will not be called.

Now there may be formatting issues that result, which in turn require additional changes, but this answers the specific question.

The Ajax popup could also be edited but that takes a bit more research.



Posted By: cysayles
Date Posted: 14-January-2008 at 11:13am

thx, that worked great, I also did the same for "show weight" as it cleans up the display.

 

any luck on how do do with the AJAX popup?



-------------
cy


Posted By: Greg Dinger
Date Posted: 14-January-2008 at 11:23am
Sorry, I have a bit of a full plate today.  The prdView.asp stuff was easy because I had that page open.  The AJAX stuff is fairly complex.  If you would  you care to engage me for a bit of consulting time, I'll be happy to go do that research for  you, or implement it for you.


Posted By: Greg Dinger
Date Posted: 16-January-2008 at 8:50pm

OK, go ahead and have a look at the script /pc/xml_getPrdInfo.asp

Line 187 needs to be commented out if you want to hide SKU.  Weight appears in a block of code below that.



Posted By: cysayles
Date Posted: 17-January-2008 at 8:06am
thx Greg, but I don't know what to comment out - line 187 is blank on this file.

could you be more specific for the SKU and the weight

much appreciated

-------------
cy



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net