1. Donnerflug
  2. RO CSVI
  3. Saturday, 26 September 2020
  4.  Subscribe via email
Hello Tharuna,

I have created a menu for the Virtuemart products. The menu is imported correctly. The only problem is the sorting of the menu items.

The sorting should correspond to the sorting in the product category of Virtuemart.

How can I solve this?

Kind regards,
Teresa
Attachments (3)
Accepted Answer Pending Moderation
Hello Teresa,
The sorting should correspond to the sorting in the product category of Virtuemart.

How can I solve this?

The value of menuordering field should be in the same order as the ordering of product in Product category of VirtueMart. I guess that should solve this issue. Please try and let me know on how it goes.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello Tharuna,

The value of menuordering field should be in the same order as the ordering of product in Product category of VirtueMart.

Both values are identical and come from the same source. However it doesn't work. Please check attached files.

Kind regards,
Teresa
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Teresa,
Like any other extensions Joomla does not have a specific field for ordering. It places the menu items based on lft and rgt fields in #__menu table. So in your Joomla menu import XML file for menuordering field you need to place a path of the menu item under which the item should appear. The path has two sections like component/rosewein-lieblich-rheinhessen, the first level is the type of menu and the second level is the alias of the menu item. There are two other values -1 and -2, -1 if the menu item should be the first child of the parent menu and -2 is for the menu item which has to be the last child of the parent menu. I am attaching the modified XML file for your reference. You can change the menuordering according to your requirement and run the import. This will solve your ordering issue.
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!