WordPress theme broken when an iframe from SantuCommerce plugin opened - wordpress

So I have this problem with this Santu WooCommerce plugin, so this plugin will open an iframe every time someone click the product link, this iframe will open a checkout page from santu.
So the problem I had is I think there are some conflicts on wordpress themes and santu CSS/JS. Here is the screenshot
before I click the product link from santu.
After click the add to cart
what happened after click the santu link
So what I want is to prevent the assets (CSS/JS) from Santu Site affected my website. So I already googled it and found about the iframe sandbox, but when I added the sandbox attributes, it's broken the santu as well.
So is there any solution about this?
maybe some function in WooCommerce that can fix this problem?
Thank you.
Here's the video

Of course, there is needed much more information, example (at least link to that site too) and there might be needed further (and deeper) dig into those files and etc, which can be hardly achieved with this Q/A format.
However, as an ugly alternative (as a temporary solution, if you can't fix it better) is that the add-to-cart JS action should be triggered into the new window-frame (which will be closed automatically) and thus, the initial page's design won't be messed up.
If that's possible, here is phseudo-concept:
clicking on "add-to-cart" triggers window.open( window.location.href + '&xyz')
if(window.location.href.indexOf("&xyz") > -1) then trigger add-to-cart window.
closing that window should trigger window.close();

Related

How to always expand the WordPress custom field (back-end)

I am talking about Wordpress back-end here,
How to hide the wordpress collapse/expand button and keep it always expand
The code seems fine to me, but from what I saw you are loading the script.js (http://clipdisplayserver.de/wordpress/wp-content/themes/clip/js/script.js) file twice in the page. Maybe that's causing your problem.

fancybox loading mystery object content in woocommerce - "requested content cannot be loaded"

Up to date wordpress, woocommerce and fancybox
When scrolling through product images using easy fancybox from the product details page, fancybox is apparently attempting to load extra content from somewhere.
What I mean is, if I have a product with a total of two images, fancybox displays those images just fine, but then tries to load a third image or some kind of link or content and returns "the requested content cannot be loaded, please try again later". I can continue scrolling through this, but obviously, it is annoying.
Printful (a t-shirt dropshipper) is integrated with my woocommerce install. They recently rolled out a new tool that imports a product from the printful website into woocommerce. The import includes product info, description and an image, which I delete and replace with my own images. I believe the issue has something to do with this import tool. I have contacted printful but they are scratching their heads, so I am trying here.
I have tried deleting caches and playing with all the fancybox settings, different browsers.. I have spent an hour digging through forums. I am stumped.
I will post a link if requested, but i've had links to this particular website removed from stackoverflow by moderators (or someone).
Thanks so much for your help!
RESOLVED (not at all)
I deactivated the printful integration plug in and the ghost images have disappeared. This solves the immediate problem, but creates another one in its place.

Wordpress, make a page link automatically after a few seconds

I am currently building a landing page in wordpress. This is a landingpage for a magento website. What i want to do is whenever i open a page through the menu, it should show the contents of that page for a few seconds. then it automatically links to the apropriate page on the magento webshop.
Can anyone tell me if there is a plugin for this or how i can pull this off without a plugin?
Any help would be greatly appreciated
The only way I know to achieve this is via javascript, and even then it's unreliable - nullified as soon as you find a user that has JS disabled. This should get you what you need though: http://www.w3schools.com/jsref/met_win_settimeout.asp
For example:
setTimeout(function(){
self.location = "/magento/home.php";
}, 5000);
would redirect a user to your new page after 5 seconds - just drop it in the wordpress template page of choice.
(It's also my duty to inform you that this kind of behavior is horrendous usability, and may not get the reaction you're expecting from your audience. </lecture>)

Image links automatically re-written on update

I took over the management of a wordpress site and I'm seriously stumped on what this guy did with this theme.
An image gets posted and it automatically links to itself on a separate page, when i try and change the link it reverts back to linking to itself.
If i remove the link I can not add a new one, it's as if the "add link" button isn't triggering but I can't find a reason why it would do that.
anyone know why this would be happening?

What is this plugin name? (modal exit for wordpress)

in this site, http://www.bitrepository.com/exit-modal-box.html, when you try to leave the page for the first time, a modal is trigered, this is a very well known plugin, its everywhere on the web on wordpress, but I can't find it, I need this exact one because I once saw its backend and it had a ton of options, please help me find it.
Br
Just try Easy Modal. They have a free version too.
Here is a paid plugins.
The WordPress Popup System
Also try this tutorial to do it manually.
MODAL BOX ON PAGE LOAD WITH JQUERY FANCY BOX AND COOKIE PLUGIN

Resources