Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2 Questions


Logik

Recommended Posts

1- Is there a way to restrict the area where I want to sell... more specificly 1 province of Canada ?

 

2- On my site I added a news system. The problem comes when I switch language on the website... as the news script is not with osc... so I though I'd install to seperate news system to manage each language... till here evrything is fine... now I need to include it on my page...

 

<?php include "news/news.php";?> or <?php include "news2/news.php";?>
.

 

.. so I though I'l put it in ENGLISH.php & in FRENCH.php & call it in my template...

 

define('NEWS', '<?php include "news/news.php";?>');
...

 

but I can't put a php tag inside another php tag... so I tried in my template to do an include but I would include a $var ...

 

so I did this <?php include NEWS ?> in template & in english or french I'd put define('NEWS', 'news/news.php')

 

didn't work ... any1 wanna help plz... these are my two last issues to fix before I present my website to the compagny :unsure:

Link to comment
Share on other sites

1- Is there a way to restrict the area where I want to sell... more specificly 1 province of Canada ?

 

->Admin :

--> Locations / Taxes :

---> Countries - (Delete all the other countries except Canada).

----> States - (Delete all States/Province's of Canada that you do not wish to sell to...)

This way only cutomers from the selected province of Canada can create an account.

Link to comment
Share on other sites

nobish-n-stuff : I think I tried that ... I'l give it another try tomorow night...

maxi : but if I do that you need to live in that province to buy...I guess I miss impreted myself I wanna restrict shipping then... because I don,t care if someone comes from chine but I only ship in A Canada province...

Link to comment
Share on other sites

Well you could simply create a new

Tax Zone for Canada and the Selected Province,

 

Then go to your shipping modules, and select the newly created tax zone AS THE ONLY 'ship to' this way - when they get to 'check-out shipping' only the selected Country and Province is Available to them.

 

hence they can only go through with the order if there shipping it to Canada..

 

You would need to make is visibly clear on your catalog that you "only ship to Canada" nothing worse then creating an account just to find out you cant get the item shipped to you..

 

hope that helps

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...