View legacy.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/legacy/assets/custom-product-variants.js b/legacy/assets/custom-product-variants.js | |
new file mode 100644 | |
index 0000000..a620200 | |
--- /dev/null | |
+++ b/legacy/assets/custom-product-variants.js | |
@@ -0,0 +1,149 @@ | |
+/* | |
+Custom product variant logic to switch the main image | |
+Must have Hulk Product Options App installed | |
+App: https://apps.shopify.com/product-options-by-hulkapps-1 |
View legacy.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/legacy/assets/custom-product-variants.js b/legacy/assets/custom-product-variants.js | |
deleted file mode 100644 | |
index a620200..0000000 | |
--- a/legacy/assets/custom-product-variants.js | |
+++ /dev/null | |
@@ -1,149 +0,0 @@ | |
-/* | |
-Custom product variant logic to switch the main image | |
-Must have Hulk Product Options App installed | |
-App: https://apps.shopify.com/product-options-by-hulkapps-1 |
View gist:1f7b73a82063e8831bdde5f37f16c57d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function EventTypeIcon(props) { | |
var bgColor = props.color; | |
var textColor = "#fff"; | |
if(props.inverted) { | |
bgColor = "#fff"; | |
textColor = props.color; | |
} | |
return <Icon.Button | |
{...props} |