X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Drop Ship - Remove Shipping Info (https://forum.x-cart.com/showthread.php?t=61428)

dpcompany 10-31-2011 10:58 AM

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?

rogue 11-01-2011 04:16 AM

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.


All times are GMT -8. The time now is 03:35 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.