Ronny Posted February 2, 2007 Share Posted February 2, 2007 I have installed an invoice module on my shop. I allso have Paypal as an option. I would like the invoice option to be availeble to norwegians only. The only way I can think of is to make the option invisible for visitors viewing the site in another language. Is this possibe? If so, how? Quote May life be good to you... Sincerely, Ronny Link to comment Share on other sites More sharing options...
♥toyicebear Posted February 3, 2007 Share Posted February 3, 2007 I have installed an invoice module on my shop.I allso have Paypal as an option. I would like the invoice option to be availeble to norwegians only. The only way I can think of is to make the option invisible for visitors viewing the site in another language. Is this possibe? If so, how? you can set up norway a a separate zone, and then enacble the payment module only for that zone. Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
Ronny Posted February 3, 2007 Author Share Posted February 3, 2007 you can set up norway a a separate zone, and then enacble the payment module only for that zone. Tryed doing that. Not sure if did it correct. I added norway to the zones section in Locations / Taxes category. Then tryed to edit the invoice in payment modules but there weren´t any options for zones there. Am I missing something? Quote May life be good to you... Sincerely, Ronny Link to comment Share on other sites More sharing options...
♥toyicebear Posted February 3, 2007 Share Posted February 3, 2007 Tryed doing that. Not sure if did it correct. I added norway to the zones section in Locations / Taxes category. Then tryed to edit the invoice in payment modules but there weren´t any options for zones there.Am I missing something? Then you need to modify the invoice module and add zones to it... Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
Ronny Posted February 3, 2007 Author Share Posted February 3, 2007 Then you need to modify the invoice module and add zones to it... I downloaded the module from Contributions. Have no idea how to modify a module. All the other payment modules I have do have the zones option but not the invoice module. Typical :'( Quote May life be good to you... Sincerely, Ronny Link to comment Share on other sites More sharing options...
♥toyicebear Posted February 3, 2007 Share Posted February 3, 2007 I downloaded the module from Contributions. Have no idea how to modify a module.All the other payment modules I have do have the zones option but not the invoice module. Typical :'( ok a quick fix... 1 . disable the invoice module... 2. enable the cod module and set it to show only for the norwegian zone 3. download this file, includes/languages/norwegian/modules/payment/cod.php 4. open the file in a text editor and change the cash on delivery text to invoice or whatever you like... 5. upload the file again. 6. Finished... :-) Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
Ronny Posted February 3, 2007 Author Share Posted February 3, 2007 ok a quick fix... 1 . disable the invoice module... 2. enable the cod module and set it to show only for the norwegian zone 3. download this file, includes/languages/norwegian/modules/payment/cod.php 4. open the file in a text editor and change the cash on delivery text to invoice or whatever you like... 5. upload the file again. 6. Finished... :-) Thank you. Did as you described but now it doesn´t show at all, no matter what language I choose. I installed cod (called invoice now) and set it to: Enable COD: Yes Zone: Norway Order status: Standard Sort order: 1 Any idea why it doesn´t show? Quote May life be good to you... Sincerely, Ronny Link to comment Share on other sites More sharing options...
Ronny Posted February 3, 2007 Author Share Posted February 3, 2007 Actually it doesn´t show when I disable zone either. :'( Quote May life be good to you... Sincerely, Ronny Link to comment Share on other sites More sharing options...
Ronny Posted February 3, 2007 Author Share Posted February 3, 2007 Actually it doesn´t show when I disable zone either. :'( OK. I figured something out. The COD module has function that hides the module if the product is virtual. In my case I´m selling downloadable products so I guess that´s why it doesn´t show. Tryed to edit the cod.php but got error messages regarding modules.php. Need help on this :-" Quote May life be good to you... Sincerely, Ronny 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.