Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Invoice for norwegians only


Ronny

Recommended Posts

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?

May life be good to you...

Sincerely, Ronny

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

May life be good to you...

Sincerely, Ronny

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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 :'(

May life be good to you...

Sincerely, Ronny

Link to comment
Share on other sites

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... :-)

Link to comment
Share on other sites

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?

May life be good to you...

Sincerely, Ronny

Link to comment
Share on other sites

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 :-"

May life be good to you...

Sincerely, Ronny

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...