A.Hawk Posted March 26, 2015 Share Posted March 26, 2015 Hallo to all the prestashop community, i need of your knowledge to solve this, the last Programmer add a button to the platform which shows you the size of body of each kind of cloth, i put button in the short description that do the same thing but i need the following: I need to put the same effect on the image appearence, in the images belows you can check how it looks and you'll tell me if it is posible to do this. PD: I need to do the same of Image nº 2. Thx you very much Link to comment Share on other sites More sharing options...
NemoPS Posted March 27, 2015 Share Posted March 27, 2015 Hm, wait, you mean the button is not doing anything at the moment? or is it triggering a popup already? Could you share your site's url? Link to comment Share on other sites More sharing options...
A.Hawk Posted March 27, 2015 Author Share Posted March 27, 2015 (edited) The url is this chakna.com, if you enter in a product you can see a button that load a picture with the body measures so the client knows what size of cloth he should buy for him/herself, now the issue is, every cloth Brand has their own measures, so a Small of Xbrand isnt same as Small of Zbrand, i made a table of measures for each Brand so i need to do the same the button of Chakna is doing now but with a button on the small description. Edited March 27, 2015 by A.Hawk (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted March 28, 2015 Share Posted March 28, 2015 Oh! So you just need the button to be on the short description? See what happen if you copy this html into it <a href="" class="size-table btn btn-info btn-xs">Ver tabla de talles</a> Link to comment Share on other sites More sharing options...
A.Hawk Posted March 28, 2015 Author Share Posted March 28, 2015 No i already have the button with a css design, and it works great it takes me to a new screen where the design is, but i dont want the image open in a new tab, i need to open the image just like the URL i write b4, the image loads in the same window but not load like _self. Is like a pop-up image which i just close that new window and continue seeing the product page. Link to comment Share on other sites More sharing options...
NemoPS Posted March 30, 2015 Share Posted March 30, 2015 Oh, I meant you could try that same one, because it looks like that's what triggers it $(document).on('click', '.size-table', function(){ $('.modal.fade').addClass('show'); $('.modal.fade').addClass('in'); return false; }) 1 Link to comment Share on other sites More sharing options...
A.Hawk Posted March 30, 2015 Author Share Posted March 30, 2015 This might sound stupid but i have to ask, im not a programmer , where i put this code exactly? Link to comment Share on other sites More sharing options...
NemoPS Posted April 1, 2015 Share Posted April 1, 2015 Oh no no, I meant that it was reasonable to just put <a href="" class="size-table btn btn-info btn-xs">Ver tabla de talles</a> Because a link with class .size-table should trigger that popup, so it's weird it doesn't! I'm kinda clueless at the moment, you should try debugging but it's tough if you're not a programmer 1 Link to comment Share on other sites More sharing options...
A.Hawk Posted April 1, 2015 Author Share Posted April 1, 2015 I found another way to solve it, but really thx for the answers =) Link to comment Share on other sites More sharing options...
Recommended Posts