Author Topic: Multilingual defaults to the home page  (Read 3245 times)

Acmiron

  • Beginner
  • *
  • Posts: 12
  • A beginner
Multilingual defaults to the home page
« on: July 26, 2018, 13:50:59 pm »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3149
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Multilingual defaults to the home page
« Reply #1 on: July 26, 2018, 14:06:31 pm »
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

  • Beginner
  • *
  • Posts: 12
  • A beginner
Re: Multilingual defaults to the home page
« Reply #2 on: July 26, 2018, 15:16:17 pm »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3149
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Multilingual defaults to the home page
« Reply #3 on: July 26, 2018, 15:48:54 pm »
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

  • Beginner
  • *
  • Posts: 12
  • A beginner
Re: Multilingual defaults to the home page
« Reply #4 on: July 26, 2018, 17:43:04 pm »
I have assigned a menu item User for each language.
Your suggestion solved it.

Thank you,
regards