selly-api

Parse value of option into html attribute

柔情痞子 提交于 2020-01-01 19:44:15
问题 I'm currently trying to make a ecommerce website that uses selly.io. But I recently got stuck on trying to change the product ID ( thats used to tell selly.io what the user is buying ) depending on the size of the product they want to buy. This is the part of the code I'm talking about: <div class="col-md-6 col-lg-5 p-b-30"> <div class="p-r-50 p-t-5 p-lr-0-lg"> <h4 class="mtext-105 cl2 js-name-detail p-b-14"> Hoodie </h4> <span class="mtext-106 cl2"> €50,00 </span> <p class="stext-102 cl3 p-t

Parse value of option into html attribute

故事扮演 提交于 2019-12-04 19:22:22
I'm currently trying to make a ecommerce website that uses selly.io. But I recently got stuck on trying to change the product ID ( thats used to tell selly.io what the user is buying ) depending on the size of the product they want to buy. This is the part of the code I'm talking about: <div class="col-md-6 col-lg-5 p-b-30"> <div class="p-r-50 p-t-5 p-lr-0-lg"> <h4 class="mtext-105 cl2 js-name-detail p-b-14"> Hoodie </h4> <span class="mtext-106 cl2"> €50,00 </span> <p class="stext-102 cl3 p-t-23">Nulla eget sem vitae eros pharetra viverra. Nam vitae luctus ligula. Mauris consequat ornare