eshop

34 views
Skip to first unread message

The TallMeerkat

unread,
Sep 2, 2012, 8:05:33 AM9/2/12
to slimbox...@googlegroups.com
where would I put this shortcode so that O can add an eshop "add to cart" link to the slimbox when it is open?

[eshop_addtocart id="123"]


this is example of code I need to know where to add the shortcode:

<div class="thumbnail"><a title="Betty Fieldman - Caring, Nurturing, Empowering, Acrylic on Canvas, 76cm x 66cm" href="http://www.toscalahiri.com/wp-content/uploads/Tosca-LahiriBetty-Fieldman-Caring-Nurturing-Empowering.jpg" rel="lightbox-paintings1"><img title="Betty Fieldman - Caring, Nurturing, Empowering, Acrylic on Canvas, 76cm x 66cm" src="http://www.toscalahiri.com/wp-content/uploads/Tosca-LahiriBetty-Fieldman-Caring-Nurturing-Empowering-150x150.jpg" alt="Betty Fieldman - Caring, Nurturing, Empowering, Acrylic on Canvas, 76cm x 66cm" width="60" height="60" /></a><br></div>


Thanks.

The TallMeerkat

unread,
Sep 3, 2012, 3:54:09 AM9/3/12
to slimbox...@googlegroups.com
This is what I have been advised to do, but I don't know how:

1) slimbox is well coded: you can add the shortcode [eshop_addtocart id="123"] to the Caption of your image
2) slimbox isn't: you have to hack slimbox to edit the caption part and make it do_shortcode($legend) and then apply (1) 

Any advice please? Thanks.
Reply all
Reply to author
Forward
0 new messages