Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VPCart 9 Questions
 Empty Company Field Changes to Dash
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Data0999
Starting Member

USA
46 Posts

Posted - March 27 2020 :  14:55:08  Show Profile  Visit Data0999's Homepage  Reply with Quote
In making a more refined Packing Slip that removes pricing and just displays Product/Quantity and Shipping Address, etc. the Company Field comes up with a Dash "-" and this is from shoponepagecheckout.asp line # 343 if company = "" then company = "-" which indicates a bug fix. Out of fear of removing that line, is there an alternative so Company is skipped on the admin printing, etc. OR can this fix be removed without issue? I''m guessing it''s there for a reason.

Just wondering if anybody has suggestions.
Thanks,

Dave

diegomilito
VP-CART Expert

Argentina
766 Posts

Posted - April 27 2020 :  21:44:04  Show Profile  Reply with Quote
dave,, diego here

find here:
admin/shopa_formatorder_subs.asp

/////////////////////////////
line 494

DoField_customer_leftcolumn GetLang("LangCustCompany"),strocompany

ovewrite this line to:
if strocompany = "" or strocompany = "-" then
else
DoField_customer_leftcolumn GetLang("LangCustCompany"),strocompany
end if

//////////////////////////
line 658

DoField_Orderv8 GetLang("LangShipCompany"),stroshipcompany

overwrite to:

if stroshipcompany = "" or stroshipcompany = "-" then
else
DoField_Orderv8 GetLang("LangShipCompany"),stroshipcompany
end if

try that and good luck ,, that will work i''ll bet.
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