Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 Extended description page for every product
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jippybeale
Starting Member

United Kingdom
19 Posts

Posted - April 19 2007 :  09:53:48  Show Profile  Visit jippybeale's Homepage  Reply with Quote
Hi,

Can someone please tell me how to apply an Extended description page (shopexd.asp) for every product rather than having to manually type "shopexd.asp" in for every individual product in the Extended description page field?

Thanks!

Kidd
VP-CART Super User

Australia
373 Posts

Posted - April 19 2007 :  10:17:39  Show Profile  Reply with Quote
Set xgenerateshopexdlink = Yes
Go to Top of Page

Joff
Starting Member

United Kingdom
43 Posts

Posted - April 19 2007 :  10:45:28  Show Profile  Reply with Quote
A quick (and crude) way would be to pre-fill the field when you go to add a new product. Then, providing you don't edit the Extended Desc field, you'll submit the new product with the filename included.

Open shopa_addproduct.asp and scroll about a quarter of the way down (mine's on line 694) until you get to the line that says:
pcreaterow   getlang("langproductextended"),"strcdescurl",strcdescurl


Copy the line and paste it again underneath, comment the first line out with a single apostrophe (as a backup incase you want to go back to how it was) and on the second line change it to read:
pcreaterow   getlang("langproductextended"),"strcdescurl","shopexd.asp"

The difference being the file name for your extended description instead of strcdescurl. Make sure the file name is in double quotes.

My finished changes look like this:
'    pcreaterow   getlang("langproductextended"),"strcdescurl",strcdescurl
    pcreaterow   getlang("langproductextended"),"strcdescurl","shopexd.asp"


Save it and give it a whirl.
Go to Top of Page

Joff
Starting Member

United Kingdom
43 Posts

Posted - April 19 2007 :  10:46:48  Show Profile  Reply with Quote
Haha typical, I go to all that effort and there's a on/off switch built in. :D Just goes to shop how they've thought of most things over at Rocksalt!
Go to Top of Page

jippybeale
Starting Member

United Kingdom
19 Posts

Posted - April 20 2007 :  07:20:49  Show Profile  Visit jippybeale's Homepage  Reply with Quote
:) Thanks guys.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00