Changing images


#1

If I were to try and use this software for an ecommerce store, would there be a way for me to change the output of the body type=image to add more beneath the photos and make them to where I could add prices etc?


#2

Yes, I think so. You’d probably want to use a repeating group for your products, and the add additional fields for the description, price, etc. For example:

<ul class="products">
{{#section products}}
  <li>
    {{photo type=image}}
    {{description}}
    <a href="#">Buy for ${{price type=number}}</a>
  </li>
{{/section}}
</ul>

#3

I’ll give that a shot. So far I’m loving this software. I’m honestly amazed at how easy this is to learn and use. I thought concrete5 was simple to use. Only issue now is finding a host that supports node.js. I don’t have any node sites so it hasn’t mattered before… Thanks for the help!

edit: It works perfectly!


#4

Great! And thanks for the kind words about Vapid.


#5

Now what about product pages? How would this cms handle that. Ideally click on image of product and open page where you can select sizes/colors etc and then purchase button links to cart… Im trying to avoid making hundreds of pages.

Edit: Nevermind. I read the documentation a little more carefully and I guess I misunderstood the first time what the “link to repeatable content” section meant.