Same product but different price based on GeoIP in Magento? - php

I want GeoIP based pricing. Suppose I have a product A. The price of product A in India will be 10, but 20 in the UK. I do not want to add the same product again.
I want the same product but only price and tax changes. How can I do this?

Magento already have this functionality. First of all you need to change the "Catalog Price Scope" from Global to Website. then you need to create 2 different websites or all the website you want to change the price.
I did the same you are asking in this site... http://www.worldflowersdelivery.com/
Let me know if this can help you.
Best,
GrinGo.
[edited] - How to request.
I'm going to skip a several steps to how to create a new website and all the configuration under the server you need to do and if you don't have access to the server the other way to add the information we need to setup to get a new website up and running.
So, we already setup all the server configuration to have a new website.
Step 1:
Go to System > Configuration > Catalog > Price - Catalog Price Scope change to website (be sure to under "Current Configuration Scope")
Step 2:
Check if you setup the same root category under the new Store created related to the new website.
Step 3:
Let configure the product after we complete al the store stuff.
First of all a new tab you are going to see called websites you need to check the new website we before created. (see the img.)
Step 4:
Let change the price for each of the website we want, to do that change the Choose Store View and set up the store view we want to change first. For the Default Store View let change the price to $200 then save and continue editing and change the sore scope to the other store view and change the price, changed to $250.
Let me know if the steps helps you, if you need anything else just let me know.
Best,
GrinGo.

Related

prestashop 1.6 multistore not able to change product store wise

Here we have some case
create product with any store :-
product will display selected store only
Problem now i want to allow in some other store too, but prestashop not given and settings like magento, which we can set product store wise.
can someone please suggest how can i figure out.

Magento cron job export / import products

My client has an existing Magento store online. Now, they wanna to setup another store at different region. Of course, they will have different currency, shipping method, payment method, different price and different inventory stock check.
Therefore, they required to replicate the same existing store to another folder. Now my problem is they want to have same product range available from both website. My product list is comprised of simple and configurable products only.
I need to set a cron job to export product lists in csv from website A.
And I need to set another cron job to fetch that csv file from website A to website B. However, the product list to be imported into website B should not
duplicate same record
update inventory and price value
My current setup for both website are hosted in same server.
I not sure how this can be done. Anyone can guide me. Thanks.
why do u want to set-up whole new magento store for second region.
u can use magento's multiple store. for that u don't have to import and export of product. infact u just have to create new magento store and payment methods, currency or whatever u want to change u can change those from configuration very easily, u can use differnt theme for both differnt stores also.
U can use this link as a refrence
http://www.crucialwebhost.com/kb/how-to-setup-multiple-magento-stores/

magento export price dont take last date such as history

i have a problem but with my magento, it's about export price in export/import profile. i've done it by click run profile in popup but after i check in profile page for export price, the date is not modified for the new one. i checked in history, it listed. (attachment). it confuse me when i whan to check the last date for export price. i need to fix it but i haven't got the solution. Really need your help guys..
Magento default settings are awesome and it always display the latest one first basis in default. Without applying a filter the order may not change. It looks like you have filtered it in the basis of either ID or datewise.
Please check it again,
The problem is either error in import/export or issue in the preference of Import/Export Profile. Just create a fresh Import/Export Profile and proceed the same process once again and this will be done. Thanks

Magento Multipe websites Share Shopping cart session

i am a new to magento what i am trying to do is share Shopping cart among different stores and there respective websites, I have already implemented the solution provided in this post,
Magento multiple websites share shopping cart, which works but have a limitation,
The Limitation which also is a problem in my case is that if something is 1st added to cart from ROOT category , it remains in session even we switch store(all stores have different ROOT category), also items added from other stores also share same cart session. BUT when i add something to cart from any other Store(Non Default Store) and then move to other stores, Cart Session for every store is created independently(mean there sessions are not shared). Now i wanna know what am i doing wrong here or what must i do to share there sessions.?
Give this a try. I's something I developed for a project on Magento EE 1.12, but it should work on CE also. Magento already shares the cart between store views under the same website. The main idea behind the code is to make magento share the cart for all store views not just the ones in the same website.
I'm not sure it will work for any websites configuration but you can take a shot.
try this works definitely, but its better to overwrite model file.
thanks to this post.
Single Cart multiple websites in Magento
I've made it different way and it works: I have single installation with multple domains and store and single SSL
I have main web site where i have all products from my other websites and it set with SSL.
1. Share customers account between multi-store:
You can configure this feature here: System -> Configuration -> Customer Configuration -> Share Customer Accounts ->Global
2.Share the cart content between Magento multi-store websites:
Magento uses separate cart sessions for each store. To use one website on the checkout session you need to modify the Mage_Checkout_Model_Session class.
Copy this file: app/code/core/Mage/Checkout/Model/Session.php to: app/code/local/Mage/Checkout/Model/Session.php.
After that add the following source code to the class:
class Mage_Checkout_Model_Session extends Mage_Core_Model_Session_Abstract
{
const CHECKOUT_STORE_ID = 1;
public function getCheckoutStoreId()
{
return self::CHECKOUT_STORE_ID;
}
Change CHECKOUT_STORE_ID value 1 to your Magento store ID with all products and SSL.
Next, find all such elements in the file:
Mage::app()->getStore()
and change them to:
Mage::app()->getStore($this->getCheckoutStoreId())
And that is it!
Clear Magento cache and check your store. Now your Magento will use one cart for different multi-domain stores websites.
There are 3 limitations of this solution:
All prices in the cart will be from the store you selected (using
CHECKOUT_STORE_ID). So if you have different prices for different
stores it will not work in the cart.
The currency in the cart will be the same as in the store you selected.
The link for editing items in the cart will will not redirect customer to original cart website.

How to create attribute based product in magento?

I need to set product based upon their weight and dimension for a delivery system, so i have created sample 5 products each having different attribute based upon their w&d .Then each time when admin places order to a customer(adding to shopping cart) from those products based upon w&d. Now the problem i face how to change the Image and description of the product or order for each customer i have placed this image and description varies for every customer. Is there a way do it. I am open to any suggestion to achieve this can also use php and js if needed. Thanks.
You have solved it yourself alraedy by saying "image and description varies for every customer", so it would make sense to add customer attributes that hold this information. You will have to modify stuff around in your .phtml files though to make this fully work.
Furthermore it would be good if you included what you have tried already.

Categories