Begin Creation
Customize a premade layout
Product Details
<%= console.log(product) %>;
var prodCat = '<%= product.category[0].id %>';
if(prodCat == '325071') {
console.log(prodCat);
document.getElementById("beginCreation").innerHTML = 'Next';
document.getElementById("beginCreation").style.marginTop = '10px';
document.getElementById("beginCreation").style.marginRight = '20px';
document.getElementById("beginCreation").style.marginBottom = '10px';
document.getElementById("beginCreation").style.lineHeight = '0px';
document.getElementById("beginCreationSub").style.display = 'none';
document.getElementById("prodDetails").style.display = 'none';
document.getElementById("prodDetailsTable").style.display = 'none';
document.getElementById("beginCreationIcon").style.display = 'none';
document.getElementById("mailInSteps").style.display = 'block';
if (priceFlag === false) {
priceFlag = true;
let div = document.createElement("div");
div.setAttribute("id", "totalSelected");
div.innerHTML = "Total selected";
document.querySelector(".d-product-price").append(div);
}
}
film
In the next screen, click the "Next" button.
In the following screen, click "Add to cart".