![]() |
First time PCart User- Edit Product Pages |
Post Reply ![]() |
Author | |
louis8789 ![]() Newbie ![]() Joined: 17-October-2011 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 17-October-2011 at 10:59pm |
I'm sure at this point in time this question is extremely redundant and for that I appologize.
However, what is the best way to go about adding html content to a product before it starts the "pcMainTable" table. Or really just before product data is being displayed. I just assume it would be before the main table tag. From first glance I would guess somehow calling a different header, or perhaps adding a snippet to check the product # and use an IF id statement. But regardless I'm lost. Any help would be greatly appreciated.
Edited by louis8789 - 17-October-2011 at 11:02pm |
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Hi Louis,
There's no such thing as a redundant question :-) Your ideas are almost certainly the way to go - if you want it just before the product then I suspect an "If" will be the way to go. Can you share a URL and indicate exactly where you want the additional info to appear? |
|
![]() |
|
louis8789 ![]() Newbie ![]() Joined: 17-October-2011 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Hi Hamish,
Thanks for the response. It's extremely appreciated. I included a link to an example page below. I also added a tad bit of html to the main configureprd.asp file to give you an idea of where I would like to insert additional code/content. The gray area I designated would be ideal to change. However, simply changing the configureprd file will obviously just make it a static content source. I'm looking to make it unique for a handful of products. Thanks again for your help. I will try to limit how time consuming my questions are. Unless that is of course you let me pay you ;) Edited by louis8789 - 18-October-2011 at 5:27am |
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Try something like :
|
|
![]() |
|
louis8789 ![]() Newbie ![]() Joined: 17-October-2011 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
hey Hamish,
Again thanks for the help. Unfortunatly I couldn't find a way to correctly insert that. Loading the page is resulting in a server 500 error. I placed it in the configureprd.asp <div id="pcMain"> <% '// VenomPCS mod start if pidProduct = 17 then %> <div id="Bubbles> </div> <% end '// VenomPCS mod end %> <table class="pcMainTable"> Wish I knew abit more about asp. Any possible ideas or common problems you can think of that are creating the 500 error? |
|
![]() |
|
whizzinpc ![]() Newbie ![]() ![]() Joined: 17-January-2006 Location: California Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
make sure the <% bracket is closed before you open the new one.... i'm not sure exactly where your pasting the code but that might cause the error. Basically you will want to make sure there is a %> somewhere before your <%
|
|
![]() |
|
louis8789 ![]() Newbie ![]() Joined: 17-October-2011 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Thanks for replying!
Anyways I found the problem. And I double checked to make sure it was actually the problem. For what ever reason my ending statement required an if Previously: <%Working: <% |
|
![]() |
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 |