---
title: "WT Add products info to Joomla script options for JoomShopping e-store - WebTolk websites development, Joomla Extensions"
description: "Adds JoomShopping product info to Joomla script options. You can access it from javascript via Joomla.getOptions('jshop_products_details')."
url: "https://web-tolk.ru/en/dev/joomla-plugins/wt-add-products-info-to-joomla-script-options"
date: "2026-06-05T09:24:28+00:00"
language: "en-GB"
---

![WT Add products info to Joomla script options](https://web-tolk.ru/images/swjprojects/projects/26/en-GB/cover.jpg)

---

# WT Add products info to Joomla script options

- **Categories:** [JoomShopping](https://web-tolk.ru/en/dev/joomshopping), [Joomla plugins](https://web-tolk.ru/en/dev/joomla-plugins), [Joomla 4 - Joomla 6extensions](https://web-tolk.ru/en/dev/rasshireniya-dlya-joomla-4)
- **Version:** 2.0.1
- **Date:** 07 December 2023

10412 6451 CTR 161% Plg Free

[Download](https://web-tolk.ru/en/get?element=wt_add_products_info_to_joomla_script_options)[Versions](https://web-tolk.ru/en/dev/joomla-plugins/wt-add-products-info-to-joomla-script-options/versions)[Documentation](https://web-tolk.ru/en/dev/joomla-plugins/blog/razrabotka-form-obratnoj-svyazi-dlya-magazinov-na-joomla-3)[Demo](https://demo.web-tolk.ru)[GitHub](https://github.com/WebTolk/WT-Add-products-info-to-Joomla-script-options-)

Adds JoomShopping product info to Joomla script options. You can access it from javascript via Joomla.getOptions('jshop_products_details'). Joomla 4 and Joomla 5 support.

![WT Add products info to Joomla script options](https://web-tolk.ru/images/swjprojects/projects/26/en-GB/icon.jpg)

## Description

This plugin is intended for developers. This solution is not in "1 click".

## Demo video

## What is it and why?

### What is it?

To create feedback forms in the online store on Joomla JoomShopping, such as:

- quick order of goods
- ask a question about the product
- request for a discount on an ite
- wholesale price request

And so on - **for all Joomla feedback forms, where you need to specify information about the product.**

This plugin is necessary for those who use the [professional plugin feedback form - Radical Form](https://extensions.joomla.org/extension/radicalform/) - in their work. I wrote [more about how to use Radical Form (in Russian)](https://web-tolk.ru/en/dev/joomla-plugins/blog/integratsiya-form-obratnoj-svyazi-i-bitriks24-na-sajte-joomla.html) in my blog.

[Tutorial (rus)](https://web-tolk.ru/en/dev/joomla-plugins/blog/razrabotka-form-obratnoj-svyazi-dlya-magazinov-na-joomla-3.html)

### Why it?

In order to make a beautiful and informative lead magnet, a feedback form that specifies the specific product in question.

Webmasters often get data for forms directly from the HTML layout of the site. In the case of a design change, it is easy to damage the structure on which the JS script relies and the feedback form will stop receiving data about the product.

This data should not depend on the design of the site. In Joomla there is a great native way to transfer data from PHP to JavaScript using a JSON object and receive it.

## Getting data about JoomShopping products for the feedback form

`Joomla.getOptions('your_json_object_with_data_from_php_here');`

This way, you can get data from a JSON object. The `product_id` variable is read in advance from the button that the site visitor clicks on.

```
let jshop_products_details = Joomla.getOptions('jshop_products_details');>
let product_name = jshop_products_details[product_id]['product_name'];
let product_price = jshop_products_details[product_id]['price'];
let product_image_url = jshop_products_details[product_id]['product_image_url'];
let product_ean = jshop_products_details[product_id]['ean']; 
```

The plugin works in the product category, the list of products of the manufacturer, the single product view. The structure of the json array is the same everywhere - you don't have to write different code for different pages.

## Joomla

 **Extension type:** Plugin **Folder:** Jshoppingproducts **Joomla version:** 3.10, 4.1, 5.0.0

## Gallery

![...](https://web-tolk.ru/en/dev/joomla-plugins/images/swjprojects/projects/26/en-GB/gallery/20rGGH3udHK.webp)

![...](https://web-tolk.ru/en/dev/joomla-plugins/images/swjprojects/projects/26/en-GB/gallery/KZIXP7tbmh0.webp)

![...](https://web-tolk.ru/en/dev/joomla-plugins/images/swjprojects/projects/26/en-GB/gallery/PSXxxi8iFiN.webp)

## What's new

 2023-12-07 11:30:11

Fixed

### PHP 8.1 bug fixes

The onBeforeDisplayProductListView trigger for the plugin can be called not only inside the store, but also in modules that may be. Added a check for the presence of a property for the received object.

## JSON-LD Schema

```json
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "@id": "https://web-tolk.ru/#/schema/BreadcrumbList/17",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "item": {
                "@id": "https://web-tolk.ru/en",
                "name": "Home"
            }
        },
        {
            "@type": "ListItem",
            "position": 2,
            "item": {
                "@id": "https://web-tolk.ru/en/dev",
                "name": "Joomla extensions"
            }
        },
        {
            "@type": "ListItem",
            "position": 3,
            "item": {
                "@id": "/en/dev/joomla-plugins",
                "name": "Joomla plugins"
            }
        },
        {
            "@type": "ListItem",
            "position": 4,
            "item": {
                "name": "WT Add products info to Joomla script options"
            }
        }
    ]
}
```

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Organization",
            "@id": "https://web-tolk.ru/#/schema/Organization/base",
            "name": "WebTolk",
            "url": "https://web-tolk.ru/",
            "logo": {
                "@type": "ImageObject",
                "@id": "https://web-tolk.ru/#/schema/ImageObject/logo",
                "url": "images/webtolk-1080p.jpg",
                "contentUrl": "images/webtolk-1080p.jpg",
                "width": 1920,
                "height": 1080
            },
            "image": {
                "@id": "https://web-tolk.ru/#/schema/ImageObject/logo"
            },
            "sameAs": [
                "https://github.com/WebTolk",
                "https://github.com/sergeytolkachyov",
                "https://vk.com/web_tolk",
                "https://vk.com/webtolkru",
                "https://tenchat.ru/sergeytolkachyov",
                "https://t.me/sergeytolkachyov",
                "https://t.me/webtolkru"
            ]
        },
        {
            "@type": "WebSite",
            "@id": "https://web-tolk.ru/#/schema/WebSite/base",
            "url": "https://web-tolk.ru/",
            "name": "WebTolk websites development, Joomla Extensions",
            "publisher": {
                "@id": "https://web-tolk.ru/#/schema/Organization/base"
            }
        },
        {
            "@type": "WebPage",
            "@id": "https://web-tolk.ru/#/schema/WebPage/base",
            "url": "https://web-tolk.ru/en/dev/joomla-plugins/wt-add-products-info-to-joomla-script-options",
            "name": "WT Add products info to Joomla script options for JoomShopping e-store - WebTolk websites development, Joomla Extensions",
            "description": "Adds JoomShopping product info to Joomla script options. You can access it from javascript via Joomla.getOptions('jshop_products_details').",
            "isPartOf": {
                "@id": "https://web-tolk.ru/#/schema/WebSite/base"
            },
            "about": {
                "@id": "https://web-tolk.ru/#/schema/SoftwareApplication/base"
            },
            "inLanguage": "en-GB",
            "breadcrumb": {
                "@id": "https://web-tolk.ru/#/schema/BreadcrumbList/17"
            }
        },
        {
            "@type": "SoftwareApplication",
            "name": "WT Add products info to Joomla script options",
            "url": "https://web-tolk.ru/en/dev/joomla-plugins/wt-add-products-info-to-joomla-script-options",
            "description": "Adds JoomShopping product info to Joomla script options. You can access it from javascript via Joomla.getOptions('jshop_products_details'). Joomla 4 and Joomla 5 support. ",
            "applicationCategory": "Joomla plugins",
            "softwareVersion": "2.0.1",
            "downloadUrl": "https://web-tolk.ru/en/get?element=wt_add_products_info_to_joomla_script_options",
            "image": "https://web-tolk.ru/images/swjprojects/projects/26/en-GB/icon.jpg",
            "operatingSystem": "ANY",
            "interactionStatistic": [
                {
                    "@type": "InteractionCounter",
                    "interactionType": "https://schema.org/DownloadAction",
                    "userInteractionCount": 10412
                },
                {
                    "@type": "InteractionCounter",
                    "interactionType": "https://schema.org/ViewAction",
                    "userInteractionCount": 6452
                }
            ],
            "mainEntityOfPage": {
                "@type": "WebPage",
                "url": "https://web-tolk.ru/en/dev/joomla-plugins/wt-add-products-info-to-joomla-script-options"
            },
            "softwareRequirements": "Joomla",
            "applicationSubCategory": "JoomShopping, Joomla plugins, Joomla 4 - Joomla 6extensions",
            "isAccessibleForFree": true
        }
    ]
}
```
