News:

Looking for documentation? Take a look on our wiki

Main Menu

product_sku in url instead of product_id

Started by fkeller, May 17, 2015, 21:35:24 PM

Previous topic - Next topic

fkeller

Hi,

I try to open a product-page with the SKU-number instead of the ID.

Like:
.../index.php?option=com_virtuemart&view=productdetails&virtuemart_product_sku=ABCDSKU

The reason for this is, that I'm using a special software to "administrate" the products (JTL-WAWI - https://www.jtl-software.de/Warenwirtschaft-JTL-Wawi). This software is able to write invoices and offers. It don't know the product_id of a product in Virtuemart - But it knows the SKU.
So I would be able to put a link in a offer to the product in my webshop.


Is there any way to implement this in my virtuemart?



cheers,
Flex

AH

I doubt it - you need the product_id

The SKU is not a unique key
Regards
A

Joomla 4.4.5
php 8.1

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/