Button V2 CIF core component is not working : URL formed is incorrect
Closed this issue · 1 comments
del27634 commented
Expected Behaviour
The URL for selected product in buttion component should have product SKU and product name in the URL.
Actual Behaviour
The URL formed doesn't have value for SKU parameter and instead of the actual SKU string placeholder {{sku}} is added.
e.g. https://author-domain/content/my_content/product-page.html/{{sku}}/product_name.html
Reproduce Scenario (including but not limited to)
Steps to Reproduce
- author CIF button (v2) component
- select link type as product from the dropdown
- Author any product from product selector
- save dialog
- View in publish, inspect the link.
Platform and Version
- AEMaaCS (2022.3.6582.20220307T234020Z-220100)
- core cif components from version 2.5.0 onwards.
Sample Code that illustrates the problem
Please check the above link, have described the issue root cause.
Logs taken while reproducing problem
buuhuu commented
Fixed since 2.7.2