The problem is with all products with 0 in stock.
There was just an upgrade to VM Ext 3.0.9 and everything seemed fine with all products but one, until I did an URL Update and we're back to the same problem again, but I get this error msg on one product:
Notice: Undefined property: stdClass::$origurl in /home/alpakk2/www/components/com_sef/sef.ext.php on line 214
This product throws an 404 now.
If I add some stock to the "problem products" they display just fine.
The URLs are what they should be, such as for the product "Cherry Beetles":
SEF URL:
www.alpakka.org/alpakkabutikken/hundegensere/cherry-beetles
Non-SEF URL: index.php?option=com_virtuemart&layout=notify&view=productdetails&virtuemart_category_id=20&virtuemart_product_id=178&Itemid=53
For Cherry Beetles there are 3 entries in "Manage SEF URLs", all of which are enabled:
alpakkabutikken/hundegensere/cherry-beetles index.php?option=com_virtuemart&layout=notify&view=productdetails&virtuemart_category_id=20&virtuemart_product_id=178&Itemid=53
alpakkabutikken/hundegensere/cherry-beetles index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=20&virtuemart_product_id=178&Itemid=53
alpakkabutikken/katt-og-hundegenser/cherry-beetles index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=20&virtuemart_manufacturer_id=2&virtuemart_product_id=178
All point to the correct category- and product ID.