PhpMadman Posted June 3, 2013 Share Posted June 3, 2013 Hi. I recently joined GitHub and started to help to develop PrestaShop. Hopping they add my ideas... I'm currently working on a improved B2B Feature. Yesterday I added to my local install, options to enable / disable APE and SIRET. I plan to add a field called Company Nr, where customer should add the organization number. To make it backward compatibility, I'll look in to if a siret call is made, change it to company nr if enabled. And also a "Siret to company nr", for customer already registered, so store owners can with one button, move there registerd customer's nr from siret to the new company nr. That's my thought's on what is needed for it, so far. I know it's a much requested feature, so I thought, those who use it, and have modified it, what did you change? What do you want to change / add? And since it's a change that this thread gets big, if someone posts a feature you want to, instead of making a new post, telling you second that feature. I ask that you just Like the post. 1 Link to comment Share on other sites More sharing options...
PhpMadman Posted June 6, 2013 Author Share Posted June 6, 2013 To make it backward compatibility, I'll look in to if a siret call is made, change it to company nr if enabled. And also a "Siret to company nr", for customer already registered, so store owners can with one button, move there registerd customer's nr from siret to the new company nr. There is really no need for the backward compatibility I think. Unless there is a module asking for siret. But all the core perstashop calls display correct info, depending in the B2B settings. And Siret is not moved with the button, insted it is copied to compnr field. Link to comment Share on other sites More sharing options...
PhpMadman Posted June 7, 2013 Author Share Posted June 7, 2013 Hi. A quick update. This is what I have done so far. [*] Project : B2B Worldwide ------------------------------------------------------------------ [+] BO : Options to enable / disable siret / ape [*] BO : Moved B2B options to it's own litle box [+] BO : Company Nr field added as option [+] FO : Company Nr added to B2B part. [+] BO : Copy Siret to Company Nr [*] FO : Added B2B to opc account creation, five step checkout [*] BO: company and compnr, can now be set to required under Customer > Customer [+] Installer : Added compnr to db_structure and upgrade missing_columns_customer [*] FO : Changed b2b company id to companyb2b [*] FO : Added onkeyup event to companyb2b, auto-fill regular company [*] BO : Added company,siret,ape and compnr to Customer information in order view [+] FO : Added B2B fields in My Account > Personal information [*] PDF : Added compnr to invoice-b2b [*] BO: siret and ape, can now be set to required under Customer > Customer I plan to add a Company name to the orderlist, so it will look something like "Company AB. J. Doe" Then i'm currenly out of ideas, exept, Maybe on the order a "Use Credit for payment" button, or something like it. Then add a field in customer db for used credit. And then connect it to Outstanding allowed ammount. Havent fully devolped that idea... Link to comment Share on other sites More sharing options...
PhpMadman Posted June 14, 2013 Author Share Posted June 14, 2013 (edited) *REMOVED* He! And with a single thought as of this morning, i'll screw this idea. Instead i'm looking in to expandning the current Outstanding Allowment options. Edited June 17, 2013 by PhpMadman (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now