How do I link back to a site page...

User 503621 Photo


Registered User
266 posts

Scott i remember something you said to download or modify it was a php ..im not sure what it was
it was a trick, but cant find it
User 103173 Photo


VP of Software Development
0 posts

Yeah, this is actually an IE issue. If you use FireFox, Chrome or Safari it works fine.

There is a hack however to fix it, but you will need to edit your code a little bit to make this happen. You will first need to FTP into your server and then find the shop files. Go to ccdata/data/goppwps.inc.php for paypal, ccdata/data/cart_authnet_1.inc.php for autorize.net. And add the this target="_parent" to the <form > fields.

We will probably never include a fix for this because using an iframe really isn't the best practice.

Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 503621 Photo


Registered User
266 posts

Thanks ! i know the iframe is not the best practice but a cool feature would be that
we can choose to go parent or top or whatever its needed
Thank you once again !!!!
User 503621 Photo


Registered User
266 posts

Scott i already modified that code to make paypal appear out of the iframe

<div class="paypal_feedback">
<a href="http://www.paypal.com" target="_blank"><img src="ccdata/images/PPLogobl.png" align="right" border="0"></a>
<h3>Proceed to secure credit card checkout with PayPal</h3>
<p>Thank you for shopping with us!</p>
<p>We will now transfer you to the secure payment gateway where you can enter your credit card data or just use Paypal</p>
<br/><br/>
<form style="display:inline;" action="<?php echo $myPage->getUrl('cancel'); ?>" method="POST">
<input type="submit" name="return" value="Return to the Shop" />
</form>&nbsp;&nbsp;&nbsp;
<form style="display:inline;" action="<?php echo $myPage->getConfig('PayPalWPS', 'URL'); ?>" method="POST" target="_top">
<?php echo $myPage->getCheckoutFields() ?>
<input type="submit" name="_xclick" value="Proceed to Checkout" />
</form>
</div>


I added that in bold ....where do i have to put the target="_parent" code ?
Just after the value="Return to the Shop" /> ???
Thanks i think maybe i will use the Paypal autoreturn
what you think ?
User 103173 Photo


VP of Software Development
0 posts

Yes, that should work. I personally have never tried this, so this hack is a big "user beware" type of thing. ;)

Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 503621 Photo


Registered User
266 posts

Scott what was the other trick ? i remember something i had to download or put on some SCC setting ...i can't find it !
User 103173 Photo


VP of Software Development
0 posts

I am not aware of any other tricks. ;(
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 503621 Photo


Registered User
266 posts

it was on an article ...im sure it was something refering to the return ...
User 503621 Photo


Registered User
266 posts

Scott i have a simple question , why there are 2 files called " goppwps.inc.php "
One on the Root folder and one on the ccdata/data/ folder

What's the difference and functions of each one ?
Thanks !
User 103173 Photo


VP of Software Development
0 posts

Got me on that. I would have to ask our programmers.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.