Guest Yretix Posted October 20, 2007 Share Posted October 20, 2007 Hello, I have a cubecart webshop for my restaurant. What I am looking for howe I can remove the fields of the Invoice Address. Hope someone can help to remove the fields of the Invoice Address at step 2 of buying something. Thanks alot, Yretix Quote Link to comment Share on other sites More sharing options...
Guest PWebmaster Posted January 12, 2008 Share Posted January 12, 2008 Hello, I have a cubecart webshop for my restaurant. What I am looking for howe I can remove the fields of the Invoice Address. Hope someone can help to remove the fields of the Invoice Address at step 2 of buying something. Thanks alot, Yretix I need to know where to edit the invoice address too. My client wants 2 fields on each line instead of one, but I can't find where the step 2 stuff is to change it. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 12, 2008 Share Posted January 12, 2008 You might try this commercial mod: Custom Additional Registration Fields found in CubeCart dot org. Quote Link to comment Share on other sites More sharing options...
Guest PWebmaster Posted January 12, 2008 Share Posted January 12, 2008 You might try this commercial mod: Custom Additional Registration Fields found in CubeCart dot org. Thanks but I don't need additional fields. I just want to know where that code is so I can edit it. Quote Link to comment Share on other sites More sharing options...
Guest BigNaz Posted January 13, 2008 Share Posted January 13, 2008 I think what you are after is in 'skins/yourskin/styleTemplates/content/cart.tpl' Have a search through for <!-- BEGIN: step_4 --> You should find what you need there if I understand your question correctly. Hope this helps! Regards, Gordon Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 14, 2008 Share Posted January 14, 2008 What I am looking for howe I can remove the fields of the Invoice Address. Hope someone can help to remove the fields of the Invoice Address at step 2.Look in /skins/your-skin/styleTemplates/content/cart.tpl at around line 18. This starts a table for the two (three ?) column layout containing the Invoice address and Delivery address. From the looks of things, the Invoice Address is taken from the Customer Profile info - if your store asked for it in the first place. But, I think here is where you can start commenting out the first column table data tags. Be sure to catch the colspan on line 21. I believe you CANNOT just delete the lines of code containing the {} placeholders. Otherwise you might get a class element error. Also, for example line 29 and line 83, they both contain placeholders for the "Invoice Address 1" you need to be concerned with. There are other pairs. On the other side of the coin, you can edit /includes/content/cart.inc.php at around line 241. You can try commenting out the entire group of lines there and see what happens. Quote Link to comment Share on other sites More sharing options...
Guest nursepower Posted February 22, 2008 Share Posted February 22, 2008 I made this if you want to use it.step_by_step.zip Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.