News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Multilingual defaults to the home page

Started by Acmiron, July 26, 2018, 13:50:59 PM

Previous topic - Next topic

Acmiron

Hello,

Website with Joomla 3.7.3, a Gantry Template and languages English, German and Dutch,
PHP Version 7.1.19, MySQL version 5.7.22.
The website is functioning correctly.

Installed VirtueMart VM3.2.14 and the VirtueMart languages Dutch and German.
Created in VirtueMart for each language a Shop, a Manufacturer, a Manufacturer Category,
a Product Category and Products.

In VM configuration shop language is set to German and multilingual shop to German, Dutch and English.

Selecting in the website Shop, product is displayed. Selecting Product Details shows the details of the
selected product (link: ../en/component/virtuemart/piano-covers/imagine-detail?Itemid=136).

Selecting "Add To Cart" and "Show Cart" displays the Cart (../en/component/virtuemart/cart?Itemid=136)

Up to now, for the three languages everything is OK.
However, when selecting "Checkout Now", the Itemid changes to 0
(link: ../en/component/virtuemart/user/editaddresscartBT?Itemid=0) and the home page is displayed.

Manually changing in the link Itemid=0 to Itemid=136, the page with "your account details" is displayed.
After entering data and continue with register, the Itemid changes to 0 and the home page is displayed.

The same happens when selecting in the Cart one of the other options. The Itemid changes to 0.

Please be so kind and advice.
kind regards,

Jörgen

Have You set landing page for Cart ? and user account?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Acmiron

Thanks for replying,

The webpage contains for each language a menu item "Shop".
In VM configuration "Select the default template for your Shop" the template used in Joomla is selected.

The content of the Cart shows the correct data. When I continue by selecting "Check out now",
../en/component/virtuemart/cart?Itemid=136 changes to ../virtuemart/user/editaddresscartBT?Itemid=0
When I replace the itemid=0 to itemid=136 the page with "Your account details" appears with data to fill in.

For some reason, in the cart the itemid is set to 0 and defaults to the home page. Thus a user account is not created.
The only user is the administrator of the webpage.

Regards,

Jörgen

Try protostar template. You should assign menu items to cart and user account
Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Acmiron

I have assigned a menu item User for each language.
Your suggestion solved it.

Thank you,
regards