FluffyCat Posted March 19, 2014 Share Posted March 19, 2014 Hi During checkout when the customer selects gift wrapping I have added a "Read more" link so the customer can learn more about the gift wrapping. I want this information to show in a FancyBox so the customer does not leave the checkout process. I can use getCMSLink to get the CMS page I need and it shows in the FancyBox. The problem is that it show the whole page with the menu, shopping cart etc just like if I had opened it in a new full window. This is what I have right now: <a href="{$link->getCMSLink('8', '')}" class="iframe" style="float: right;">{l s='More info'</a> <script type="text/javascript">$('a.iframe').fancybox();</script> It correctly show the page but the full page and I just want to show the text from the CMS page in the FancyBox nothing else. Is this possible? Link to comment Share on other sites More sharing options...
vekia Posted March 20, 2014 Share Posted March 20, 2014 add additional param to link content_only=1 and for create fancybox instance use this code: $('a.iframe').fancybox({ 'type' : 'iframe', 'width':600, 'height':600 }); effect: Link to comment Share on other sites More sharing options...
tiendatutorial Posted January 11, 2017 Share Posted January 11, 2017 try this Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now