Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Move "Select" Column in shopdisplayproducts
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

djscout
VP-CART New User

USA
53 Posts

Posted - January 05 2003 :  01:53:36  Show Profile  Visit djscout's Homepage  Reply with Quote
how can i move the "select" column (very far right) to the FIRST column preceeding all the product info? im guessing it's simple but im missing it, or where it is called to be displayed after the product listings. thanks


Jim..
J3Media.com

Superal
VP-CART Expert

Canada
542 Posts

Posted - January 05 2003 :  11:07:40  Show Profile  Reply with Quote
Easy to miss since the formatting gets done in shopproductformat. The key is ProductFormatRow. This has the order in which the row is built and displayed. Try changing AddSelect to a different spot in the order such as before ProductFormatRow. You must also move the IF...Then stuff with it also.

Go to Top of Page

djscout
VP-CART New User

USA
53 Posts

Posted - January 05 2003 :  13:06:32  Show Profile  Visit djscout's Homepage  Reply with Quote
Superal,

Thanks! after some toying with it again, this time with a heads up I got it. It was the AddSelect Sub that I was overlooking. For the record for anyone else in the forum, here's the mod:

On or around line 15 cut out the command: ProductFormatFields
and paste it after this conditional:

If ProductSelect="Yes" then
if getconfig("xproductcatalogonly")<>"Yes" then
AddSelect
end if

next, on or around line 357 (after "next" and before response.write "</tr>")
cut out the following:


if getconfig("xproductcatalogonly")<>"Yes" then
IF productSelect="Yes" then
FormatProductHeaders LangProductSelect
else
If getconfig("xproductcatalogonly")<>"Yes" then
FormatProductHeaders LangProductOrder
end if
end if
end if

and paste it on or around line 345 (after Response.write ProdHeaderRow and before for i=0 to FieldCount)





Jim..
J3Media.com
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