在页面中引入css和js文件。
1 2 3 | < link rel = "stylesheet" type = "text/css" href = "css/bootstrap.min.css" > < link rel = "stylesheet" type = "text/css" href = "css/font-awesome.min.css" >< link rel = "stylesheet" type = "text/css" href = "css/style.css" > < script src = "js/jquery-1.11.3.min.js" ></ script >< script src = "js/shop.min.js" ></ script > |
1 2 3 4 5 6 7 8 | <script> $( 'body' ).ctshop({ currency: '$' , paypal: { currency_code: 'EUR' } }); </script> |
使用一个<div>元素作为图片的容器。
1 2 3 4 5 6 7 8 9 | < div class = "col-sm-4" > < div class = "ct-product" > < div class = "image" >< img src = "images/product-02.jpg" alt = "" ></ div > < div class = "inner" >< a href = "#" class = "btn btn-motive ct-product-button" >< i class = "fa fa-shopping-cart" ></ i ></ a > < h2 class = "ct-product-title" >Cherry Straws</ h2 > < p class = "ct-product-description" >A very delicious macaroons ...</ p >< span class = "ct-product-price" >$34.99</ span > </ div > </ div > </ div > |
修改结帐后连结网站
在shop.min.js文件中找到下方文字,改成您的网站就可以了
1 |
特别申明:
本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com