Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.price .pricelb')['each'](function() {
- var _0x90eax2 = $(this)['text']();
- if (_0x90eax2['substr'](0, 2)['match']('pr')) {
- _0x90eax2 = _0x90eax2['replace']('pr', '');
- $(this)['html']('<div class="sora_product_item_price" style="padding: 10px 0 10px 0;"><span class="sora-product-price-text">Giá:</span><span class="sora_product_price">' + testnum(_0x90eax2) + '</span></div><div class="item_price" style="display:none">' + formatNumber(_0x90eax2) + '</div>')
- };
- $('.sora_product_item_price')['parent']('.pricelb')['replaceWith'](function() {
- return $(this)['contents']()
- });
- $('.price')['replaceWith'](function() {
- return $(this)['contents']()
- })
- });
- $('.pricelb')['remove']()
- });
- <span class="price"><span class="pricelb"><data:label.name/></span></span>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement