| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 13c34a4 commit 0ce9bbd
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -250,21 +250,30 @@ <h2>Hosted button</h2> | |||
| 250 | 250 | data-button="buynow" | |
| 251 | 251 | data-button_id="NQ9MQGA8YG53C" | |
| 252 | 252 | data-type="form" | |
| 253 | + > | ||
| 254 | + </script> | ||
| 255 | + </div> | ||
| 256 | + | ||
| 257 | + <div id="button-options"> | ||
| 258 | + <h2>Options button</h2> | ||
| 259 | + <script src="../../dist/all.js?merchant=6XF3MPZBZV6HU" | ||
| 260 | + data-button="buynow" | ||
| 261 | + data-type="form" | ||
| 262 | + data-name="Buy now!" | ||
| 263 | + data-amount="1.00" | ||
| 264 | + | ||
| 253 | 265 | data-option0name="Color" | |
| 254 | 266 | data-option0select1="Blue" | |
| 255 | 267 | data-option0select2="Green" | |
| 256 | 268 | data-option0select0="Red" | |
| 257 | 269 | data-option0price1="8.00" | |
| 258 | 270 | data-option0price2="12.00" | |
| 259 | 271 | data-option0price0="10.00" | |
| 272 | + | ||
| 260 | 273 | data-option1name="Size" | |
| 261 | 274 | data-option1select0="Small" | |
| 262 | 275 | data-option1select1="Medium" | |
| 263 | 276 | data-option1select2="Large" | |
| 264 | - data-option2name="Coupon Number" | ||
| 265 | - data-option2required="true" | ||
| 266 | - data-option2pattern="alphaNumericRegex" | ||
| 267 | - data-option2select0="" | ||
| 268 | 277 | > | |
| 269 | 278 | </script> | |
| 270 | 279 | </div> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -53,7 +53,7 @@ describe('Test page button counter', function () { | |||
| 53 | 53 | }); | |
| 54 | 54 | ||
| 55 | 55 | it('Should have seven buy now buttons', function () { | |
| 56 | - buttons.buynow.should.equal(14); | ||
| 56 | + buttons.buynow.should.equal(15); | ||
| 57 | 57 | }); | |
| 58 | 58 | ||
| 59 | 59 | it('Should have two cart buttons', function () { | |
@@ -215,7 +215,7 @@ describe('Styled buttons', function () { | |||
| 215 | 215 | }); | |
| 216 | 216 | ||
| 217 | 217 | it('Should have primary buttons', function () { | |
| 218 | - primary.length.should.equal(19); | ||
| 218 | + primary.length.should.equal(20); | ||
| 219 | 219 | }); | |
| 220 | 220 | ||
| 221 | 221 | it('Should have secondary buttons', function () { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments