I have used the built-in iphone theme in Magento 1.7.0.2 to create a mobile site, the problem that I am having is creating a link so that the user has the option to go back to the full site, is there a way to create link to change the theme in Magento or create a link that makes Magento see the mobile as a normal web browser?
I have looked at a number of things such as trying to make the mobile appear to have a different user agent once the link is clicked but I have had no look
Thanks in advance
Adam
The easiest way is to create 2 store views: one for the mobile version and second for full version.
Ex: http://example.com/ and http://example.com/m/
You have patterns for mobile user agents, so you can check if user came with mobile deviсe — redirect him to the mobile store (http://example.com/m/) and just add link to the main store: http://example.com/
One more solution is to use one and the same URI and just add store code to the address:
http://example.com/?___store=mobile and http://example.com/?___store=full.
Related
I have a simple question...I had an old store and people bookmarked specific product pages in their browsers as well as Google search points to some specific pages. I have now installed a new version of Magento (1.9.1) and some of these URLs will not longer work (they will show the standard 404 not found Magento page).
What would be the best way to forward all these hits to the front page?
Thank you for any suggestions!
Allysin :-*
Login to the admin, go to System>Configuration>Web and change the drop-down value for CMS No Route Page in the Default Pages section. You should be able to select your CMS Home Page.
Here is a reference with images
If manual setting doesnt help,you can try this.
I need to know how to modify the catalog file in such a way that it only shows me the product catalog as a list and not as a grid when the user uses a mobile. But only when user use mobile for visiting my magento shop
Which file DO I have to modify and how?
Thanks a lot for help
You need to check if UA is mobile (with Best way to detect mobile users in Magento or similar way).
Then force switch store view to your optimized for mobile view template
Next go in backend System => Configuration => Catalog => Catalog => Frontend and set List Mode => List only
It can be done by css.You can see the bootstrap framework for responsive view.This can be used to detect the screen resolution and can render the view according to the screen size.
Ok so I’m trying to implement social media into the footer. However, they are images that change color when hovered over that I’m working into the CSS.
But my question is, if the end user changed their Facebook URL, how will they update the url? I obviously can’t just put it directly into the theme because then the end-user will know how to program and where to look just to change the URL.
How do I go about implementing this the right way so the end-user can update their social media URLs to their Facebook/Twitter/YouTube/Etc easily..?
What do you mean by saying "user changed their Facebook URL"?
You talking about customer or administrator?
If you mean administrator, then the you can create custom settings for social media links
For customers store theirs social uids
In order to do this, you will need to create an extension, albeit not a very complicated one. If you've never done this before, Alan storm wrote an excellent tutorial.
One file that is often included in extensions (but seems not to be mentioned in the above mentioned tutorial) is etc/system.xml. This file lets you define a new page in the System->Configuration section of the Magento admin panel. Magento provides a good tutorial on writing those.
Any fields you put in etc/system.xml will be modifiable in the Magento admin panel, and you can access them anywhere in your code with Mage::getStoreConfig('your extension's name/the name of the field'), e.g., Mage::getStoreConfig('facebook/enabled');
This might be a basic question, I'm still relatively new to Magento. I have 2 store views in a magento project. 1 for English (default) and 1 for Japanese. While working with both store views, I noticed how if for example I switch to the Japanese store view, if I redirected to a different page or content on the store, the language goes back to English. How do I prevent the website from going back to the default language every time I change categories/catalogs?
That is all about Magento Admin setting. While creating Content Pages/Categories/products, there is a option that ask to choose Store View.
You can add content for Cateogries/Product/CMS Pages for each locale. If it is done then you'll be able to see your site content on the basis of current locale. Hence you need to go through Magento Admin first.
Hope it will work for you. Please let me know if any issue.
Managing contents in multilingual stores in Magento is easy.
Edit/Create Product/Category/Page/Static blocks according to need storeview and put content according to languages in that.
Now access pages by store code, if we are using that.
In some case we don't find the heading names according to languages so just enable inline translater from admin and do translation specific to store/website.
To run Magento store using urls we have both options index.php modifiction and using .htaccess using website and store codes.
On running Magento multisite , multistore. We generally face the common urls for media, js and other resources we should use symlink to increase SEO ranking and score.
Please feel free to contact.
Install your language package.
Create products, categories, pages, and static blocks on the basis of your selected language.
Sometimes translation does not work for few words. In those cases, Inline translation from admin will help you.
Managing content according to store view is very easy.
follow up below steps for managing content according to Store view.
Edit your product or category or your page and static block etc.
after that you can see store select left side in product and category and on page you can see feild below url in static block also. select your store view.
whater ever you want to change or edit please do according to you.
After that save it will apear only on your selected store.
Note: if you not edit any fild by store then it will show default store contents.
I have created a web application in PHP, Ajax, HTML5. It is ready and working perfectly. Now I want to integrate it with magento. In the application, when user clicks buy now an image is saved in a folder on the server.
I have just started using magento. There are two ways in my mind to implement the functionality,
Navigate the user from magento products page to my application page and when user clicks buy now button on my page it will be the add to cart functionality at the back end. And i will send the image name that is randomly generated and append it into the comments of product that admin can see.
Make my app a magento custom plugin. Add my HTML, css, js, php files within magento and use my app as an internal magento application.
So, i need suggestions, comments, ideas or anything that can help me.
As I have just started with magento and I don't have any experience with e-commerce. So, my question might be showing in experience.
Try to learn Magento API it can be integrated with all your apps.