VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 Add ccode to sub product
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

junkmailforken
Starting Member

USA
26 Posts

Posted - October 25 2008 :  11:47:59  Show Profile  Visit junkmailforken's Homepage  Reply with Quote
I am trying to add the ccode to the subproducts and it looks like there is a way to use a template in 6.5.
Around line 804 of shopproductinventory.asp there is the following. However I can not find the xproductformatinventory in the database.
' use a template to format sub products
' Template is xproductformatinventory (tmp_subproductformat.htm)

Ken Schmaltz

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - October 27 2008 :  05:59:52  Show Profile  Reply with Quote
The template that is used is tmp_subproductformat.htm. You need to open that with a text or an html editor, but I'm sure that ccode is already in the template. What kind of inventory display are you using? eg Dropdown, Table, Quantity etc? because this will determine whether a template is used or not.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

junkmailforken
Starting Member

USA
26 Posts

Posted - October 30 2008 :  06:46:32  Show Profile  Visit junkmailforken's Homepage  Reply with Quote
Carrol, Thank you for your reply. I am using quantity. Can I use a template in this case?

Ken Schmaltz
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - October 30 2008 :  08:39:10  Show Profile  Reply with Quote
Hi Ken,

the 'Quantity' type inventory display does not use a template. The table is generated and formatted in shopproductinventory.asp. You would have to find and modify the sub routine:

Sub FormatInventoryQuantity ( conn, rs, objrs)

It should be about line 390

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000