jbrewski85
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Amazon Payments Advanced Button – Move/RemoveHey all, I searched everywhere and couldn’t find anything about how to reformat/relocate the amazon pay button… so I came up with my own.
This removes the info bar at the top and adds it to the bottom payment methods under “paypal” (if you have that enabled):
final result: http://prntscr.com/9szqleFirst lets remove the code that puts the banner at the top of the checkout page:
open /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/amazon-payments-advanced.phpgo to line 238 to find the “public function checkout_message”
on line 239 comment out the echo and do the same for line 242, so in the end it will look like this:
http://prntscr.com/9szrxjTo relocate the button you will need to go to:
/wp-content/themes/YOURTHEMEHERE/woocommerce/checkoutopen “review-order.php” and edit the following like so:
http://prntscr.com/9szq4v
I have added the following code to line 95:<?php if($_GET['amazon_payments_advanced'] == "true"){ } else {echo '<br><div id="pay_with_amazon" style="float:left;"></div> ' . apply_filters( 'woocommerce_amazon_pa_checkout_message', __( '', 'woocommerce-gateway-amazon-payments-advanced' ) ); echo "<br><hr>"; }?>make sure the “if($_GET…” is in there, this will ensure after logging in with amazon that the pay with amazon button is not displayed twice.
This was the best solution I could come up with. Hopefully that helps some of you!
Forum: Plugins
In reply to: [Frontend Publishing] View Edit RotatingGif Deleteok, I’ll do some testing and let you know.
I may play around with showing more fields also.
Forum: Plugins
In reply to: [Frontend Publishing] View Edit RotatingGif DeleteI got everything modified and it’s working like a champ now!
screenshot: http://i.imgur.com/X1JUjGN.png
I modified the script to match our layout, and added some title text on the view, edit, delete so someone doesn’t accidentally click the wrong one and added some spaces in there.
Also made it so that when the user wants to edit a post it opens on another page (which worked best in our situation)
http://ratevape.com is our site
thanks for the quick support and trying to help out.
Forum: Plugins
In reply to: [Frontend Publishing] View Edit RotatingGif DeleteI believe I got it!
Just had to tweak the FEP settings… so in our situation commenting out line 119 in /wp-content/plugins/front-end-publishing/static/js/scripts.js fixed it.Forum: Plugins
In reply to: [Frontend Publishing] View Edit RotatingGif DeleteSo I was playing around with it more.
I commented out the tinyMCE.triggerSave(); on line 119 and when I hit submit it actually tries to save but getting this message:Your submission has errors. Please try again!
You missed one or more required fields
There are too many links in the article bodyForum: Plugins
In reply to: [Frontend Publishing] View Edit RotatingGif DeleteI noticed under the edit plugins these are “(inactive)”:
front-end-publishing/inc/ajax.php (inactive)
front-end-publishing/inc/shortcodes.php (inactive)
front-end-publishing/inc/options-panel.php (inactive)
front-end-publishing/views/submission-form.php (inactive)
front-end-publishing/views/post-tabs.php (inactive)however this is active:
front-end-publishing/fepublishing.php (active)are those 5 files supposed to say active beside them in the plugin editor?
Forum: Plugins
In reply to: [Frontend Publishing] View Edit RotatingGif DeleteI do not, trying to figure it out now.
Forum: Plugins
In reply to: [Frontend Publishing] View Edit RotatingGif Deleteyes, I can see everything fine. Just the button does nothing once clicked.
Forum: Plugins
In reply to: [Frontend Publishing] View Edit RotatingGif Deletejavascript it is referring to:
“/wp-content/plugins/front-end-publishing/static/js/scripts.js?ver=3.9.1”
Forum: Plugins
In reply to: [Frontend Publishing] View Edit RotatingGif DeleteI haven’t disabled any other plugins yet because this is an active site, however I we were using a box shortcode which we put this script inside and that may of been causing the ajax-loading.gif to display right away.
I tried the shortcode on a blank page and all looks to be good at first glance.
However the submit button does not work, I am getting this error now:
http://i.imgur.com/cdvaaYT.pngthank you!