#258 Using Joomla! Article ID in a J2C layout

Posted in ‘Technical Support / Bugs’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Sarah Eagle on Wednesday, 23 April 2025 08:39 UTC

Sarah Eagle

Hello, I would like to insert the Joomla! Article ID into a product page.

Using the standard 

Factory::getApplication()->input->get('id');

does not work as it shows the J2C Product ID instead.

If I cannot do that, how can the shop owner search for the J2C Product ID in the admin area?

Thanks

S :)

Sarah Eagle

And as usual, I find the answer 2 mins after asking for help!

Just use 

$this->product->product_source_id;

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.