Created
June 18, 2013 10:42
-
-
Save genee19/5804338 to your computer and use it in GitHub Desktop.
Ecwid product browser code generator.
This file contains hidden or 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
<style>.codegen-widget { | |
padding: 1em; | |
background-color: #eaf3fa; | |
font: normal 16px tahoma, geneva, verdana, sans-serif; | |
} | |
.codegen-widget small { | |
font-size: 75%; | |
} | |
.codegen-widget input { | |
font: normal 16px tahoma, geneva, verdana, sans-serif; | |
color: #000; | |
} | |
.codegen-widget input.ng-invalid { | |
color: #f00; | |
} | |
.codegen-widget textarea { | |
width: 100%; | |
font-size: 14px; | |
font-family: Consolas, Menlo, Monaco, Lucida Console, monospace, serif; | |
}</style> | |
<div ng-app class="codegen-widget"> | |
<p><label>Your store ID:<input type="text" ng-model="storeid" ng-pattern="/\d{4,}/" required placeholder="1003"></label><br> | |
<small><a href="http://kb.ecwid.com/w/page/15853282/How%20to%20get%20your%20Store%20ID">Where to get your store ID?</a></small> | |
</p> | |
<p><textarea readonly rows="8" cols="80"> | |
<div> | |
<script type="text/javascript" src="http://app.ecwid.com/script.js?{{storeid}}" charset="utf-8"></script> | |
<script type="text/javascript"> xProductBrowser("categoriesPerRow=3","views=grid(3,3) list(10) table(20)","categoryView=grid","searchView=list","style="); </script> | |
<noscript>Your browser does not support JavaScript. Please proceed to <a href="https://app.ecwid.com/jsp/{{storeid}}/catalog">HTML version of this store</a></noscript> | |
</div> | |
</textarea></p> | |
</div></p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment