Print Page | Close Window

BTO Product Page Template

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart Build To Order
Forum Name: Customizing BTO
Forum Description: Interact with other users, resellers and developers about customizing BTO
URL: https://forum.productcart.com/forum_posts.asp?TID=626
Printed Date: 17-May-2024 at 9:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BTO Product Page Template
Posted By: James
Subject: BTO Product Page Template
Date Posted: 30-January-2007 at 11:58am

I am currently using...

if session("idCustomer")>"0" then
  pcs_AddtoCart
end if

...in viewPrdL.asp to hide the Add To Cart button until users log in. This works very well BUT only seems to influence non-BTO product pages.

If I view a BTO product, the Add To Cart button is always visible because it is obviously using a different template (i.e. not viewPrdL.asp).

Does anybody know which file I need to edit to influence the Add To Cart button on BTP product pages please? Once I know which file to edit, it should hopefully be a simple matter of pasting the above code into that template, I just can't find it anywhere!




Replies:
Posted By: Hamish
Date Posted: 31-January-2007 at 1:45pm
Hi,
   Try ViewPrd.asp - I've just done a search and only the members starting ViewPrd contain pcs_AddtoCart.  It should be straight forward to work out which one is used by BTO with a small amount of investigation/testing.



 


Posted By: James
Date Posted: 02-February-2007 at 6:55am
Hmmmm...... I've experimented with all the viewPrd files and still can't seem to get any of them to affect the BTO product pages. If anybody can help, please get in touch!!


Posted By: Hamish
Date Posted: 14-February-2007 at 11:41am
Hi James,
    I was away last week, so just getting back to PC. I'm going to be looking at the BTO code in a fair bit of detail I expect over the next couple of days, so if you haven't found the answer yet let me know and I'll keep my eyes peeled!


Posted By: thedeacon
Date Posted: 03-June-2007 at 11:41pm

Sorry I didn't see this sooner.

What's the URL of your website and what would you like to change?  Let me know and I'll be happy to help :)

 

Richard - http://www.hipepc.com - www.hipepc.com




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