All the category links appear like this in Opencart version 2.1
http://localhost/jahangirkhalid/desktops/pc
but there are only three categories that appear in the old way
http://localhost/jahangirkhalid/?/index.php?_route_=desktops/mac
http://localhost/jahangirkhalid/?/index.php?_route_=laptop-notebook/macs
http://localhost/jahangirkhalid/?/index.php?_route_=laptop-notebook/windows
What could the problem be.
Related
I have a Magento website with some pages linked to main navigation.
For example, in my default view (Italian) I have www.example.com/italian-url-key
Then I created another page for English view with url www.example.com/english-url-key
So, when I am on the italian version of the page and try to switch to english version, this is the url that magento generate: http://www.example.com/italian-url-key/?___store=english&store=&___from_store=default and on click it gives me 404 page.
How can I fix it? I need that this 2 pages should be linked, also if url key is different.
Many thanks!
Out of the box Magento does not support URL Translation, both pages need the same URL key. Check instructions from the Magento Docs on how to translate CMS pages.
To translate a CMS page, you must create a new page that has the same
URL Key as the original, but assigned to the specific store view.
So you will either have to stick to one languages for your URLs or develop/acquire a module to do this for you. The magento-language-roots or CMSRewrites modules both look like they will achieve this for you.
You may also want to consider adding Hreflang tags to your head.phtml as you have a multi-lingual site.
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 have to build a website for a mobile store. They want to list their products but don't want to start selling yet. I have done a lot of website with Joomla and Virtuemart.
This time I want to use Magento as they use Lightspeed a POS that offers integration with Magento community edition.
My question is can I simply use Magento as a CMS to only display products and a few static pages like about us etc. I went through stackoverflow and found that some members have recommended some good blog integrations for magento so that part is solved(Thanks :-) ).
I know I can use wordpress as a blog with magento.
I rephrase....Can I use it to simply display products!
If Yes then please let me know if I am doing it for the right reason.
the reason are:
Adding products and product information becomes very easy in a
shopping cart(But in a CMS like Joomla each page has to be literally "designed" or I will have to use CCK editor. It still
becomes difficult for the client to update products IMO)
It comes with built in plugins to show related/featured products
etc. with a click on a button or options in the backend while client
simply puts the appropriate tags(With a CMS have to use a plugin or
module in Joomla that has to be set to show in the particular pages)
Automatic display of images etc is easier in Magento in comparison
to a CMS like Joomla where I will have to use a plugin or a gallery
that is set to show inside an article
The buy/add to cart button can easily be disabled and a "more info"
button can be added that will send an email to the client. They get
the exact product code the customer is asking for(Doing that in
Joomla would require a lot of extra stuff like adding codes or use
an advanced contact form with a tag to be entered for each page)
Last but not the least when client is ready to go online it can
easily be converted
Does Magento have two display? One is simply a catalog and the other a store. I have seen that in some stores online(not necessarily using magento) I am assuming either they created a website with the products pages first and then added a store later.
But in many cases it looks like a part of the Shopping application.(i just can't seem to remember which one they were using now).
If Magento allows that then I think my problem is solved. I simply use the "catalog option" and when the client is ready for the store I simply pull the products using a extension from their POS software.
Thank you for taking the time to read/answer.
Using Magento as a catalog only without selling the items is pretty straightforward. The easiest thing to do is just to use the catalog category lists to list the products and just make sure the "order" button is not visible.
You can do this simply by removing it from the product detail template (and the list/grid template in case they have it).
Or you could (I think) set all products to 'out of stock' this will automatically remove the 'order' button.
If you want to be thorough you should edit the cartControllers's addAction to disable adding products to the cart.
If you are going to combine Magento with Wordpress, Fishpig has developed a plugin with which you can use shortcode within Wordpress blogposts or/and pages to display products.
More info about that can be found here: http://fishpig.co.uk/wordpress-integration/docs/shortcodes.html
System > Configuration > Advanced > Advanced
Disable the modules you don't want to use.
For example, if you wanted to use Magento as catalog only then disable sales module.
Hope this works for you!
I have a Joomla site that I am working on, building some custom modules to control content.
I am using a menuitem field type:
<field type="menuitem" name="loc_nav_item" label="Link URL" ></field>
And then echoing out:
However, even though I have SEF urls active and working on the site, this creates a url based on the ID like this:
I am relatively knew to Joomla, even more so with custom module creating. Is there something I am missing here that will allow the module to generate the proper, SEF url?
Joomla 1.7 (required by client...)
Yes! You need to apply the JRoute function to it - this effectively hasn't changed since Joomla 1.5 so you're fine using it on Joomla 1.7. See the Joomla doc here for more info for the 11.1 platform though.
So you need to use something along the lines of:
Also tell your client Joomla 2.5 has no visible differences to Joomla 1.7 except has a tonne of extra security features missing in Joomla 1.7. He's asking for himself to be hacked!!
I have one main website with one store and 2 store views.
I have added the products to the store and hopefully it will be visible in 2 views.
But here only English pages have the products displayed and no products are displayed on German pages.
I would like to have the products and English pages to be on the German pages too with translation in the name and description.
Please let me know whether it is possible in Magento.
Looking forward for your replies as soon as possible as I am stuck upon my project.
This is out-the-box.
From the sounds of it you may want to consider putting together a test build of Magento and installing the demo products. The instructions for this are on the Magento site. The demo products will provide you with a reference on how multi view works.