Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- Ecwid.OnPageLoaded.add(function(page){
- if (page.type == "CATEGORY") {
- $("div.ecwid-productBrowser-price").each(function(){
- if ($(this).text() == "0.00 р.") {
- $(this).text("Цена договорная");
- }
- });
- };
- if (page.type == "PRODUCT" && $("div.ecwid-productBrowser-price").text() == "0.00 р.") {
- $("div.ecwid-productBrowser-price").text("Цена договорная");
- };
- })
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement