Jump to content

Fancybox in History.tpl


allstarteste

Recommended Posts

Prestashop 1.6.1.6

Good afternoon everyone,
I'm trying to put a fancy box on the page history.tpl right next to the status of the order.

It just does not work.

I entered this code in history.js

$ (document) .ready (function () {
$ ('a.teste'). fancybox ({
width: 630,
height: 425,
type: 'iframe'
});
});



in the history.tpl file
 

<a class="teste" href="http://????.com/en/content/44-displayable?content_only=1"> LINK </a>



Does anyone know how to display certain content in a fancybox in the history.tpl file ???

I did the same in product.tpl and everything worked fine but this file has no way of working.

Edited by allstarteste (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...