Support » Plugin: eShop » Product page links location

  • Resolved Posthoc


    Hi guys,

    First, great plugin, does everything you need, does it fast and discreetly.

    Here’s my problem :
    I’m using posts as products, and I display all the posts excerpts on one page (like a catalog). I’d like to add a class to the links on this page (each product title and thumb image) that go to each product detail (= post). This class would allow me to show the product detail (= post) in a lightbox instead of going to the post directly.

    I tried adding the class dynamically (jquery “addClass”) but it doesn’t work. And I can’t find the php source of the product thumbs layout, generating the links, so I can’t add them manually either.

    I’m sure this is a very basic operation, but I couldn’t find any piece of information neither in the documentation nor in the forum.
    Please bear with me if I read past through it ! In which case just tell me where it is and I’ll go check it myself.

    Thanks for you help,


Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Forum Moderator

    I’d like to add a class to the links on this page

    That would be handled by your theme – not eShop.



    Hey esmi,

    Thanks for your answer.

    The thing is, the links that I’m talking about are those generated by eShop. They’re the ones in the title and the image of products when I display them as posts on a page (with a shortcode). Their class is “itemref”. I can’t find the php responsible for their creation. Do you have any idea where I can find it/them ? I pretty much opened every php file in the eShop plugin folder, with no success.

    Thanks for your help,


    Plugin Author elfin


    I wouldn’t recommend changing the plugin anyway. It is used in several places within the plugin. If you provide a sample page and identify which portion you think needs another class I’ll see if it is possible within eShop itself.



    Well, thanks.

    For those who are having the same problem as I was : I didn’t find the source, but could achieve most of what I wanted using jQuery. I would however suggest trying out other plugins to see if they don’t fit more easily with you solution.

    After struggling quite some time, I switched to Wp e-commerce, which code is much more structured and commented.

    Thanks guys,

    Keep it up.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Product page links location’ is closed to new replies.