Advertisement
Guest User

Untitled

a guest
Nov 30th, 2015
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. <script type = "text/javascript" >
  2. var spConfig = new Product.Config(
  3. {"attributes":
  4. {"92":
  5. {"id": "92", "code": "color", "label": "Color", "options":
  6. [{"id": "26", "label": "ACEITE", "price": "0", "oldPrice": "0", "products":
  7. ["2735", "2736"], "image": "", "bigimage": "", "color": "ECD47E"},
  8. {"id": "12", "label": "NEGRO", "price": "0", "oldPrice": "0", "products": ["1416", "1417"],
  9. "image": "", "bigimage": "", "color": "000000"}], "use_image": 1, "enable_carousel":
  10. "0", "config": {"entity_id": "1", "attribute_id": "92", "use_image": "1", "small_width":
  11. "50", "small_height": "50", "big_width": "70", "big_height": "70", "use_tooltip":
  12. "0", "use_title": "1", "cat_small_width": "0", "cat_small_height": "0", "cat_big_width":
  13. "0", "cat_big_height": "0", "cat_use_tooltip": "0"}}, "158":
  14. {"id": "158", "code": "jsw_talla", "label": "Talla", "options":
  15. [{"id": "60", "label": "36", "price": "0", "oldPrice": "0", "products":
  16. ["1416", "2735"], "image": "", "bigimage": "", "color": null},
  17. {"id": "14", "label": "38", "price": "0", "oldPrice": "0", "products":
  18. ["1417", "2736"], "image": "", "bigimage": "", "color": null}],
  19. "use_image": 1, "enable_carousel": "0", "config": {"entity_id": "3", "attribute_id": "158",
  20. "use_image": "1", "small_width": "50", "small_height": "50", "big_width": "0",
  21. "big_height": "0", "use_tooltip": "0", "use_title": "0", "cat_small_width": "0",
  22. "cat_small_height": "0", "cat_big_width": "0", "cat_big_height": "0", "cat_use_tooltip": "0"}}},
  23. "template": "#{price}\u00a0\u20ac", "basePrice": "86", "oldPrice": "86", "productId": "1422", "chooseText": "Elegir una Opci\u00f3n...",
  24. "taxConfig": {"includeTax": false, "showIncludeTax": true, "showBothPrices": false, "defaultTax": 21, "currentTax": 21, "inclTaxTitle": "Impuestos incluidos"}});
  25. </script>
  26. <script type = "text/javascript" > jQuery(document).ready(function(){
  27. var swatchesConfig = new Product.ConfigurableSwatches(spConfig);
  28. }
  29. ); </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement