E-commerce no good
- This topic has 13 replies, 6 voices, and was last updated 2 years, 7 months ago by .
October 7, 2020 at 5:47 am #3978baregipa
This great cms still has big limitation, it is not suitable for e-commerce, I can’t get it to work properly with electronic shopping cart.
it’s a pity, being able to make a static e-commerce site would be very niceOctober 7, 2020 at 6:00 am #3979flim
Did you tried Snipcart to add e-commerce feature?
https://snipcart.com/blog/publii-static-cms-htmlOctober 7, 2020 at 6:10 am #3980baregipa
Yes, i have test this mode, but no good.October 7, 2020 at 6:13 am #3981flim
Could you specify what is bad with Snipcart? I plan to use it sometime in future.October 7, 2020 at 6:23 am #3982baregipa
I have tested the whole procedure, and it does not work, it would be necessary to add an electronic cart as with the other cms, not necessarily having to interface with a server like snipcartOctober 8, 2020 at 8:01 pm #3995champi
Could you specify what is bad with Snipcart? I plan to use it sometime in future.
SnipCart will work, but if I may register a warning: for most applications the implementation will be much more complicated then SnipCart’s tutorials suggest. Take the demo page you posted:
I found it frustrating. YMMV.October 9, 2020 at 4:17 am #4000marc_io
What about Foxy Cart? It seems more flexible.October 9, 2020 at 4:20 am #4001flim
I haven’t try SnipCart yet, from this page
It looks like you can define different color for productsOctober 9, 2020 at 9:43 am #4013btrem
I haven’t try SnipCart yet, from this page
It looks like you can define different color for products
You can define different colors for a product. And different sizes, and whatever other options you want. The problem is getting that information to the server, because all the options have to be in a single button element that the user clicks.
You can just put every iteration of the product on the page each with its own buy button, i.e., a series of buttons to “buy small black shirt”, “buy med black shirt”, “buy large black shirt”, “buy small green shirt”, etc. Each button has attributes to tell SnipCart which version of the product was selected. But having lots of buttons like that are clunky, bad for usability, and almost certainly unacceptable to the client.
That’s my experience with SnipCart. Again, YMMV.October 19, 2020 at 8:43 am #4195baregipa
I cannot add a cart of my site, e commerce no good for publii.October 22, 2020 at 3:18 pm #4251gpsblues
In this demo site I have created a customizable product very easily (see mountain bike)October 23, 2020 at 1:29 am #4258flim
In this demo site I have created a customizable product very easily (see mountain bike)
Could you share how you did it?October 23, 2020 at 1:41 pm #4274gpsblues
I have carefully followed the snipcart documentation. Unfortunately I don’t remember the details.
1. Activation of snipcart. Tools / Custom Html / Head:
<link rel = "stylesheet" href = "https://cdn.snipcart.com/themes/v3.0.7/default/snipcart.css" />
2. Creating the button with options within a post:
<button class = "snipcart-add-item" data-item-id = "t03" data-item-name = "MTB Walden - Mondo Cycles" data-item-description = "Custom Walden MTB: the pure essence of mountain biking "data-item-price =" 940.00 "data-item-has-taxes-included =" true "data-item-image =" https://snipcart-publii.netlify.app/media/files/bici.png " data-item-url = "https://snipcart-publii.netlify.app/mountain-bike.html#/" data-item-custom1-name = "Frame size" data-item-custom1-options = "M | L | XL | XXL [+50] "data-item-custom1-value =" L "data-item-custom1-required =" true "data-item-custom2-name =" Equipment "data-item-custom2-options = "Frameset only | Shimano Tiagra 2x10 Mech. [+ 600.00] | Shimano 105 2x11 Hydr. [+ 1300] | Ultegra 2x11 Hydr. [+ 1750.00] | Sram Rival 1x11 [+1750.00]" data-item-custom2-required = "true" data-item-custom3-name = "Fork" data-item-custom3-options = "No | Manitou Machete 120 [+300] | Formula Selva 130 [+500]" data-item-custom3-required = " true "> Customize your MTB </button>
3. Adding the shopping cart button to the menu bar:
<button class = "snipcart-checkout" title = "Go to cart"> <svg viewBox = "0 0 64 64" fill = "none" xmlns = "http://www.w3.org/2000/svg" alt = "" class = "snipcart-cart-header__icon snipcart__icon - white snipcart__icon"> <path fill-rule = "evenodd" clip-rule = "evenodd" d = "M51.714 20.47L55 60H9l3.286-39.53h9.857v -6.588C22.143 8.424 26.556 4 32 4c5.444 0 9.857 4.424 9.857 9.882v6.589h9.857zM25.43 13.883v16.47h-3.286v-6.587h-6.834l-2.737 32.94h38.856l-2.737-32.94h-6.834 v6.588h-3.286v-16.47c0-3.634-2.947-6.589-6.571-6.589-3.624 0-6.571 2.955-6.571 6.588zm3.285 9.883V20.47h6.572v3.294h-6.572z "fill =" # ffffff "> </path> </svg> <span style = "display: inline; color: white;" class = "snipcart-items-count"> 0 </span> </button>
- You must be logged in to reply to this topic.