ChemPal Documentation - v1.6.0
    Preparing search index...

    Module types/lerochem

    Interfaces

    LeroChemAttribute

    A single attribute of a PrestaShop product combination, keyed by attribute group id in LeroChemDataProduct.attributes. For LeroChem the only group is "Size/capacity", whose name is a pack size like "1 L" or "5 L".

    LeroChemDataProduct

    The JSON held in the #product-details element's data-product dataset (and re-emitted inside the variant refresh AJAX response). Describes the currently-selected combination of a PrestaShop product.

    LeroChemVariantRefresh

    Response shape of the PrestaShop product refresh AJAX endpoint (controller=product&action=refresh) used to price a non-default size. product_details is an HTML fragment carrying the selected combination's data-product dataset.