answers.tilda.cc/en/a/custom-code-cart-multiple-number-en
Preview meta tags from the answers.tilda.cc website.
Linked Hostnames
15- 7 links toanswers.tilda.cc
- 4 links totilda.cc
- 2 links tohelp.tilda.ws
- 1 link toblog-en.tilda.cc
- 1 link tode.answers.tilda.cc
- 1 link toes.answers.tilda.cc
- 1 link tofr.answers.tilda.cc
- 1 link toit.answers.tilda.cc
Search Engine Appearance
How do I set the number of products to a multiple of 5, 10, 100, etc.?
Examples below require knowledge of Javascript and CSS. Tilda Customer Support does not assist in code-related questions.To change the behavior of the “plus” and “minus” buttons in the shopping cart, you need to add a T123 block from the “Other’ category and insert the following code:var newMultipleNumber = 100; /* вместо 100 укажите нужное вам число */function tcart__product__plus(t) { var r = t.closest(".t706__product"), o = r.attr("data-cart-product-i"); window.tcart.products[o].quantity += (window.tcart.products[o].quantity % newMultipleNumber > 0 ? newMultipleNumber - window.tcart.products[o].quantity : newMultipleNumber); window.tcart.products[o].amount = window.tcart.products[o].price * window.tcart.products[o].quantity; window.tcart.products[o].amount = tcart__roundPrice(window.tcart.products[o].amount); r.find(".t706__product-quantity").html(window.tcart.products[o].quantity); 0 < window.tcart.products[o].amount ? r.find(".t706__product-amount").html(tcart__showPrice(window.tcart.products[o].amount)) : r.find(".t706__product-amount").html(""); tcart__updateTotalProductsinCartObj(); $(".t706__carticon-counter").html(window.tcart.total); tcart__reDrawTotal(); tcart__saveLocalObj();}function tcart__product__minus(t) { var r = t.closest(".t706__product"), o = r.attr("data-cart-product-i"); 0 < window.tcart.products[o].quantity && (window.tcart.products[o].quantity -= newMultipleNumber); window.tcart.products[o].amount = window.tcart.products[o].price * window.tcart.products[o].quantity; window.tcart.products[o].amount = tcart__roundPrice(window.tcart.products[o].amount); r.find(".t706__product-quantity").html(window.tcart.products[o].quantity); 0 < window.tcart.products[o].amount ? r.find(".t706__product-amount").html(tcart__showPrice(window.tcart.products[o].amount)) : tcart__product__del(t); tcart__updateTotalProductsinCartObj(); $(".t706__carticon-counter").html(window.tcart.total); tcart__reDrawTotal(); tcart__saveLocalObj();}.t706__product-plusminus {width: unset !important;}Replace the value “100” of the variable “newMultipleNumber” with the number you need.The block containing the code should be added to the very bottom of the page, or placed to the Footer.
Bing
How do I set the number of products to a multiple of 5, 10, 100, etc.?
Examples below require knowledge of Javascript and CSS. Tilda Customer Support does not assist in code-related questions.To change the behavior of the “plus” and “minus” buttons in the shopping cart, you need to add a T123 block from the “Other’ category and insert the following code:var newMultipleNumber = 100; /* вместо 100 укажите нужное вам число */function tcart__product__plus(t) { var r = t.closest(".t706__product"), o = r.attr("data-cart-product-i"); window.tcart.products[o].quantity += (window.tcart.products[o].quantity % newMultipleNumber > 0 ? newMultipleNumber - window.tcart.products[o].quantity : newMultipleNumber); window.tcart.products[o].amount = window.tcart.products[o].price * window.tcart.products[o].quantity; window.tcart.products[o].amount = tcart__roundPrice(window.tcart.products[o].amount); r.find(".t706__product-quantity").html(window.tcart.products[o].quantity); 0 < window.tcart.products[o].amount ? r.find(".t706__product-amount").html(tcart__showPrice(window.tcart.products[o].amount)) : r.find(".t706__product-amount").html(""); tcart__updateTotalProductsinCartObj(); $(".t706__carticon-counter").html(window.tcart.total); tcart__reDrawTotal(); tcart__saveLocalObj();}function tcart__product__minus(t) { var r = t.closest(".t706__product"), o = r.attr("data-cart-product-i"); 0 < window.tcart.products[o].quantity && (window.tcart.products[o].quantity -= newMultipleNumber); window.tcart.products[o].amount = window.tcart.products[o].price * window.tcart.products[o].quantity; window.tcart.products[o].amount = tcart__roundPrice(window.tcart.products[o].amount); r.find(".t706__product-quantity").html(window.tcart.products[o].quantity); 0 < window.tcart.products[o].amount ? r.find(".t706__product-amount").html(tcart__showPrice(window.tcart.products[o].amount)) : tcart__product__del(t); tcart__updateTotalProductsinCartObj(); $(".t706__carticon-counter").html(window.tcart.total); tcart__reDrawTotal(); tcart__saveLocalObj();}.t706__product-plusminus {width: unset !important;}Replace the value “100” of the variable “newMultipleNumber” with the number you need.The block containing the code should be added to the very bottom of the page, or placed to the Footer.
DuckDuckGo
How do I set the number of products to a multiple of 5, 10, 100, etc.?
Examples below require knowledge of Javascript and CSS. Tilda Customer Support does not assist in code-related questions.To change the behavior of the “plus” and “minus” buttons in the shopping cart, you need to add a T123 block from the “Other’ category and insert the following code:var newMultipleNumber = 100; /* вместо 100 укажите нужное вам число */function tcart__product__plus(t) { var r = t.closest(".t706__product"), o = r.attr("data-cart-product-i"); window.tcart.products[o].quantity += (window.tcart.products[o].quantity % newMultipleNumber > 0 ? newMultipleNumber - window.tcart.products[o].quantity : newMultipleNumber); window.tcart.products[o].amount = window.tcart.products[o].price * window.tcart.products[o].quantity; window.tcart.products[o].amount = tcart__roundPrice(window.tcart.products[o].amount); r.find(".t706__product-quantity").html(window.tcart.products[o].quantity); 0 < window.tcart.products[o].amount ? r.find(".t706__product-amount").html(tcart__showPrice(window.tcart.products[o].amount)) : r.find(".t706__product-amount").html(""); tcart__updateTotalProductsinCartObj(); $(".t706__carticon-counter").html(window.tcart.total); tcart__reDrawTotal(); tcart__saveLocalObj();}function tcart__product__minus(t) { var r = t.closest(".t706__product"), o = r.attr("data-cart-product-i"); 0 < window.tcart.products[o].quantity && (window.tcart.products[o].quantity -= newMultipleNumber); window.tcart.products[o].amount = window.tcart.products[o].price * window.tcart.products[o].quantity; window.tcart.products[o].amount = tcart__roundPrice(window.tcart.products[o].amount); r.find(".t706__product-quantity").html(window.tcart.products[o].quantity); 0 < window.tcart.products[o].amount ? r.find(".t706__product-amount").html(tcart__showPrice(window.tcart.products[o].amount)) : tcart__product__del(t); tcart__updateTotalProductsinCartObj(); $(".t706__carticon-counter").html(window.tcart.total); tcart__reDrawTotal(); tcart__saveLocalObj();}.t706__product-plusminus {width: unset !important;}Replace the value “100” of the variable “newMultipleNumber” with the number you need.The block containing the code should be added to the very bottom of the page, or placed to the Footer.
General Meta Tags
6- titleHow do I set the number of products to a multiple of 5, 10, 100, etc.? - Frequently asked questions Tilda
- charsetutf-8
- Content-Typetext/html; charset=utf-8
- viewportwidth=device-width, initial-scale=1.0
- format-detectiontelephone=no
Open Graph Meta Tags
2- og:titleHow do I set the number of products to a multiple of 5, 10, 100, etc.?
- og:descriptionExamples below require knowledge of Javascript and CSS. Tilda Customer Support does not assist in code-related questions.To change the behavior of the “plus” and “minus” buttons in the shopping cart, you need to add a T123 block from the “Other’ category and insert the following code:var newMultipleNumber = 100; /* вместо 100 укажите нужное вам число */function tcart__product__plus(t) { var r = t.closest(".t706__product"), o = r.attr("data-cart-product-i"); window.tcart.products[o].quantity += (window.tcart.products[o].quantity % newMultipleNumber > 0 ? newMultipleNumber - window.tcart.products[o].quantity : newMultipleNumber); window.tcart.products[o].amount = window.tcart.products[o].price * window.tcart.products[o].quantity; window.tcart.products[o].amount = tcart__roundPrice(window.tcart.products[o].amount); r.find(".t706__product-quantity").html(window.tcart.products[o].quantity); 0 < window.tcart.products[o].amount ? r.find(".t706__product-amount").html(tcart__showPrice(window.tcart.products[o].amount)) : r.find(".t706__product-amount").html(""); tcart__updateTotalProductsinCartObj(); $(".t706__carticon-counter").html(window.tcart.total); tcart__reDrawTotal(); tcart__saveLocalObj();}function tcart__product__minus(t) { var r = t.closest(".t706__product"), o = r.attr("data-cart-product-i"); 0 < window.tcart.products[o].quantity && (window.tcart.products[o].quantity -= newMultipleNumber); window.tcart.products[o].amount = window.tcart.products[o].price * window.tcart.products[o].quantity; window.tcart.products[o].amount = tcart__roundPrice(window.tcart.products[o].amount); r.find(".t706__product-quantity").html(window.tcart.products[o].quantity); 0 < window.tcart.products[o].amount ? r.find(".t706__product-amount").html(tcart__showPrice(window.tcart.products[o].amount)) : tcart__product__del(t); tcart__updateTotalProductsinCartObj(); $(".t706__carticon-counter").html(window.tcart.total); tcart__reDrawTotal(); tcart__saveLocalObj();}.t706__product-plusminus {width: unset !important;}Replace the value “100” of the variable “newMultipleNumber” with the number you need.The block containing the code should be added to the very bottom of the page, or placed to the Footer.
Link Tags
11- canonicalhttps://tilda.cc/en/answers/a/custom-code-cart-multiple-number-en/
- dns-prefetch//tilda.ws
- dns-prefetch//static.tildacdn.com
- shortcut icon//answers.tilda.cc/src/images/tildafavicon.ico
- stylesheet//answers.tilda.cc/src/css/tilda-grid-3.0.min.css
Website Locales
8de
https://de.answers.tilda.ccen
https://answers.tilda.cces
https://es.answers.tilda.ccfr
https://fr.answers.tilda.ccit
https://it.answers.tilda.cc
Emails
2Links
25- http://blog-en.tilda.cc
- http://help.tilda.ws
- https://answers.tilda.cc/en
- https://answers.tilda.cc/en#22
- https://answers.tilda.cc/en/a/add-autocomplete-en