News:

Support the VirtueMart project and become a member

Main Menu

Products missing from the Product Details Layout Menu list

Started by Mister Paul, December 18, 2018, 15:02:17 PM

Previous topic - Next topic

Mister Paul

Hi,

I am trying to create an Joomla menu element linked to a Virtuemart product.

So I created a Joomla Menu item and in "Menu Item Type" I have selected "Virtuemart : Product Details Layout"
But then, I can't find my product in the "Select a Product" list...
:o

What could be the reason?
How could I make it appear ?...

Thanks for your help
Paul

Jörgen

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Mister Paul

Yes Jörgen,
the Father and its 2 Children are published

GJC Web Design

is it in a category? or if not the show uncategorised prods checked?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Mister Paul

Yes GJC,
also a good idea. Thank you.

They are categorized (Father + Children) and the category is published.
In case of, I tried to check "Show uncategorised parent products in search results and modules" and "Show uncategorised child products in search results and modules".

Still not working...

GJC Web Design

#5
he he .. running out of ideas ..  have never had trouble with this

has a price? stock?

shows up if u manually link it by

index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=67&virtuemart_category_id=5  ?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Mister Paul


Mister Paul

#7
Well... strange thing:
- in the "Select a Product" scroll down menu code I found 701 "<option value". So 701 VM products listed.
- in my VM backend I have ± 950 products published, and with a valid price.

So ± 250 products seem to be missing...
I didn't checked stock there, but no need:

I tried to find a missing product in the list. And rapidly got one. But this product is published, and is available to be bought normally on frontend site...
It is published, has category (distinct from the product of my first post), price and stock.

What could be the problem?...

Mister Paul

Well sorry for these naïve questions but I am still seeking:
- is there a way to manage (= filter) the products from the the "Select a Product" list?
- as I am migrating from an old 1.5 Joomla site with VirtueMart 1.1.4, could it be the reason of my problem?
But le product I wanted to show in the initial post was a newly created one (from Joomla 3 and VirtueMart 3.4.0)

GJC Web Design

Perhaps some sort of JSON limit thing?
In the short term u could just make the link manually as above
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

The problem is the hardcoded limit of 700 products. Usually only shops with less than 10 products use that (imho)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Mister Paul

Thanks for clarification.

I need that menu link for some special products (I don't understand why creating a hard coded limitation)
As the link text field is not writable, the only way I see now to solve the problem is to modify the database...
Or expand the 700 limit. But where?

GJC Web Design

I assume because to return a huge JSON call of +700 prods is a big ask..

Why not just make a std Joomla url menu like index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=67&virtuemart_category_id=5

this is all the dialog is doing
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Mister Paul