Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Drop Ship - Remove Shipping Info

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-31-2011, 10:58 AM
 
dpcompany dpcompany is offline
 

eXpert
  
Join Date: Oct 2008
Posts: 319
 

Default Drop Ship - Remove Shipping Info

We are in the process of designing a website that will allow our customers to dropship our products. A feature we are trying to develop involves requiring the customer to enter in a new shipping address for each individual order. In other words, we would need to create a process that would delete all of the shipping information from that customer in the "customer" database after the order is initially placed. Any thoughts on how to make this happen?
__________________
Michael

Development
X-Cart Gold Plus v4.7.12
- php 7.3
- reBOOT reDUX
- other goodies

X-Cart Gold v4.7.7
- reBOOT Template
- XPayments 3.0.2
- Abandoned Cart Reminder
- BCSE Reward Points
- BCSE Stock Notify
- XPDF Invoices
Reply With Quote
  #2  
Old 11-01-2011, 04:16 AM
  rogue's Avatar 
rogue rogue is offline
 

X-Adept
  
Join Date: Apr 2007
Location: Loveland, Ohio
Posts: 770
 

Default Re: Drop Ship - Remove Shipping Info

I can't imagine why you would want to do this but..

The code you are looking for is in the /include/func/func.orders.php (or some name like that). There is a section for processing when the status code changes to "c". You could put the code there to clear the shipping address data.
__________________
Richard Williams
Rogue Wave Limited

Initial Inventory Imports
Daily Inventory Updates
Daily Inventory Reports
Drop Ship Support
Order Export to Shipper/Supplier
Shopping Feeds That Work
Programming for X-Cart

richard@roguewavelimited.com
http://www.roguewavelimited.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:00 AM.

   

 
X-Cart forums © 2001-2020