I need to set multiple product price for products in Magento based on currency.
I know that this can be done by creating multiple websites, but doing so only for a price attribute doesn't seem reasonable as everything expect that remains the same. Will also be problematic in terms of SEO.
Also came through an extension : http://www.magentocommerce.com/magento-connect/currency-pricing.html, but doesn't looks promising based on the reviews.
Please share our suggestions on how this can be achieved without multiple website setup.
You can use the Auto Currency Switcher for this here is the link
This extension uses the IP address of the country and display the currency according to the IP address. You just have to set up the Magento Cron to updated the currency and it will show the updated price of the products according to the country.
I think there is no need to create the multiple stores.
Hope it helps.
Thanks,
Related
I am working with iTunes store's customer reviews API and I have some questions, the general URL is like this:
https://itunes.apple.com/us/rss/customerreviews/id=(APPID)/sortBy=mostRecent/json
I have two questions, the first is I don't want to specify the country, so I remove the country code like this:
// /us/ has been removed from the URL
https://itunes.apple.com/rss/customerreviews/id=(APPID)/sortBy=mostRecent/json
...but still, the reviews and rates belong to the US store, Is there any possible way to get a summary of rates and reviews worldwide?
Secondly, can I change the result sort defined by sortBy=mostRecent?
My third question is if I develop an app which monitors reviews and rates with Apple's official API, does Apple reject my app for reasons like scraping their website or something like that?
Unfortunately, there is no way to get the results for all countries in one go. You have to query each country individually. Here is a list of country codes: https://affiliate.itunes.apple.com/resources/documentation/linking-to-the-itunes-music-store/#CountryCodes
There is no publicly documented way of changing the sort order.
I'd be surprised if you ran into any problems - after all, you're not scraping their website, but using an API they've exposed for that very purpose. Others have been doing it for a long time, e.g. https://reviewbot.io/ or https://appbot.co/. But there's only one way to find out for sure.
You can't get all countries, only the ones you specify, us is default.
There is a limit, of as far as I know, 50 reviews you can get trough
pagination links provided in the las result item.
You can load .../xml or .../json
You can only sort by mostRecent
The first result item is not a review but an app description.
Your last question can only be answered by Apple.
The problem is currently .xml doesn't work and for your question to monitor in bulk, if you know R there's a package in R itunesr that can help solve extract bulk data.
Am trying to create a program that fetches data from yahoo finance all stock data.
I found one rest API that gives me a stock price but I have to pass two parameters ex. if I have to get Apple stock price I have to pass Apple and stock name but I want all stock data so how do I get ??
can anyone help me thanks in advance
Unfortunately there isn't any official source of tickers or method of getting them.
You can use this script link to download tickers but as creator mentioned:
it is not possible to get all the symbols due to limitations set by
Yahoo. About 75%-90% of all symbols are gathered using this script
depending on type.
And it also downloads some no longer existing or inaccessible tickers.
From this site link you can download list of almost all tickers but about 30% of tickers are either in wrong category or aren't working. Checking whether ticker exists is easy because when API returns no data then we can deduce that ticker is incorrect. But checking if category is appropriate is a bit more complicated.
I've filtered tickers from the second site but only ETFs and Mutual Funds, you can find them on my GitHub. Those files contain about 99% of ETFs and Mututal Funds avaiable on Yahoo. I might consider filtering stocks later and then I'll upload them with script too. Be aware that filtering tickers is impossible on one run without for example VPN because Yahoo limits request to about 10k-20k per day and there are about 20k tickers per category and checking each ticker requires 2 requests.
Try with IEX api, it's free, and it provides very complete data, a very simple implementation and a very neat documentation
if yu want AAPL real-time price you just have to request
https://api.iextrading.com/1.0/stock/aapl/price
Here's complete documentation
https://iextrading.com/developer/docs
I was searching for a solution to a similar question for a long time. and at last, I got a solution to my problem.
there's a library in python that does this for you!
All you have to is pass the right symbol for the stock (for ex: the symbol of Infosys is INFY)
Here's the link to the documentation of the library
Dynamic Stock prices :
https://nsetools.readthedocs.io/en/latest/
Historical Stock Data :
https://nsepy.readthedocs.io/en/latest/
I hope this helps! All the best
Is it possible to change the address of a link on different countries?
I am creating a website for a non-profit, and the donations are made through another website(classy).
I have two pages in Classy, one for United States, and one for Canada and the user needs to choose one link to click.
I would like to make the link change automatically if the user is either in US or Canada. Is it possible?
When can I find more information about it?
You should use some functionality which is able to recognize country from IP address, for example geoip gem and then make condition which link should be displayed
I'm working on a Shopify site and would like product prices to be viewed in different currencies alongside each other e.g.
£123 | $456 | €789
I've read a few methods on Shopify e.g. 'How to Show Multiple Currencies' but you have to select which currency you want and the all the prices change accordingly. However, I need all currencies to be in view together - GBP, USD, EUR.
Is there a way I can set it up so that when I enter the base price in GBP, the USD and EUR prices will be automatically calculated and displayed on the web page? Ideally, the client would like to update the currency exchange rates in the back-end.
Please help if you can.
If you study the way Shopify provides for the currency display, you'll see it is nothing more than a bit of Javascript, connected to a currency exchange mechanism.
To do what you want, just hack the Javascript a little. It is not hard to do that. The entire pattern is already laid out for you in one currency, so adding others is easy.
We have user generated names of employers that come in all variations. For example, people have typed in or imported:
Google
Google, Inc.
Google Inc.
Google inc
To a database search this, looks like a different company all together. We've changed some things to map each employer to a "normalized" name, but with 70,000 in total, it becomes hard to do it by hand.
Does anyone have suggestions on how to normalize the existing entries, and also how to maintain we do it for all incoming names as well?
There are two things you can do to help:
When users are adding a company name, give them an autocomplete box so that they get suggestions if it already exists. Alternatively suggest an existing one like stackoverflow does when you add a question.
Use a search tool when querying the database so that you can summarise all variations. You can find search gems here https://www.ruby-toolbox.com/categories/rails_search
I don't think "normalizing" them after the fact will be easy nor accurate.