Elvive
Total Repair 5 Low Shampoo 400ML
Ingredients
Our gentle cleansing cream with: No foam or lather No sulphates* Enriched with calendula extract
document.addEventListener("DOMContentLoaded", function (event) {
const element = document.getElementsByClassName('oap_hairdiagStart_divbtn');
if (element.length > 0) {
let urlParams = new URLSearchParams(window.location.search);
if (urlParams != "" || urlParams != null) {
var keyValuepairs = urlParams.toString().split('&');
var qrUtmfound = 0;
keyValuepairs.forEach(function (item, index) {
if (item === "utm_source=pos" || item === "utm_medium=qrcode") {
qrUtmfound++;
}
});
if (qrUtmfound == 2) {
let relocHref = document.getElementById("hair_color_start_btn").getAttribute("href");
let relocUpdatedurl = relocHref + window.location.search;
document.getElementById("hair_color_start_btn").setAttribute("href", relocUpdatedurl);
}
}
}
});
Product details
document.addEventListener("DOMContentLoaded", function (event) {
const element = document.getElementsByClassName('oap_hairdiagStart_divbtn');
if (element.length > 0) {
let urlParams = new URLSearchParams(window.location.search);
if (urlParams != "" || urlParams != null) {
var keyValuepairs = urlParams.toString().split('&');
var qrUtmfound = 0;
keyValuepairs.forEach(function (item, index) {
if (item === "utm_source=pos" || item === "utm_medium=qrcode") {
qrUtmfound++;
}
});
if (qrUtmfound == 2) {
let relocHref = document.getElementById("hair_color_start_btn").getAttribute("href");
let relocUpdatedurl = relocHref + window.location.search;
document.getElementById("hair_color_start_btn").setAttribute("href", relocUpdatedurl);
}
}
}
});
Usage
document.addEventListener("DOMContentLoaded", function (event) {
const element = document.getElementsByClassName('oap_hairdiagStart_divbtn');
if (element.length > 0) {
let urlParams = new URLSearchParams(window.location.search);
if (urlParams != "" || urlParams != null) {
var keyValuepairs = urlParams.toString().split('&');
var qrUtmfound = 0;
keyValuepairs.forEach(function (item, index) {
if (item === "utm_source=pos" || item === "utm_medium=qrcode") {
qrUtmfound++;
}
});
if (qrUtmfound == 2) {
let relocHref = document.getElementById("hair_color_start_btn").getAttribute("href");
let relocUpdatedurl = relocHref + window.location.search;
document.getElementById("hair_color_start_btn").setAttribute("href", relocUpdatedurl);
}
}
}
});
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type":"ListItem",
"position": 1,
"item": {
"@id": "/",
"name": "Home"
}
}
,
{
"@type":"ListItem",
"position": 2,
"item": {
"@id": "https://www.loreal-paris-me.com/en/hair",
"name": "Hair"
}
}
,
{
"@type":"ListItem",
"position": 3,
"item": {
"@id": "https://www.loreal-paris-me.com/en/hair/hair-care",
"name": "Hair Care"
}
}
,
{
"@type":"ListItem",
"position": 4,
"item": {
"@id": "https://www.loreal-paris-me.com/en/hair-care/elvive",
"name": "Elvive"
}
}
,
{
"@type":"ListItem",
"position": 5,
"item": {
"@id": "https://www.loreal-paris-me.com/en/hair-care/elvive/total-repair-5",
"name": "Total Repair 5"
}
}
,
{
"@type":"ListItem",
"position": 6,
"item": {
"@id": "https://www.loreal-paris-me.com/en/elvive/total-repair-5/total-repair-5-low-shampoo-400ml",
"name": "Total Repair 5 Low Shampoo 400ML"
}
}
]
}