broketrainenthusiast
Forum Replies Created
-
Hello,
I decided to use different shortcodes for each menu. Adding this shortcode [wp_compact_cart] to the bottom of my mobile menu creates a lot of whitespace under it and adds two blank social icons to the social menu using the following code for each:<a style="color:#00E2E6;font-weight:500;" href="https://broketrainenthusiast.com/bag/ "></a>
If I place it anywhere else in the menu, the menu items below it have incorrect formatting similar to that seen in the original question
Can this be fixed?
Thank you,
EricHere is the php called by the shortcode:
function wspsc_compact_cart_handler($args) { $num_items = wpspc_get_total_cart_qty(); $checkout_url = get_option('cart_checkout_page_url'); $output = ""; if(!empty($checkout_url)){ $output .= '<a style="color:#00E2E6;font-weight:500;" href="' . $checkout_url . ' ">' . "Bag (" . $num_items . ")";'</a>'; }else{ $output .= "Bag (" . $num_items . ")"; } return $output; }
- This reply was modified 4 years, 3 months ago by broketrainenthusiast.
- This reply was modified 4 years, 3 months ago by broketrainenthusiast.
- This reply was modified 4 years, 3 months ago by broketrainenthusiast.
Sorry, it appears that the issue was on my end.
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] Empty Shopping Cart is InvisibleAwesome, that works great!
Thank you!Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] Getting jQuery Error When Checking OutMy solution now that jQuery was phased out anyway was to just load it using a script tag in the header of my cart page. everything works great now!
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] Getting jQuery Error When Checking OutHello,
It’s back to the drawing board then, as I am my own host. If I do find a solution to the problem I’ll be sure to let you know!
Thank you for all of your time and help,
EricForum: Plugins
In reply to: [WordPress Simple Shopping Cart] Getting jQuery Error When Checking OutHello,
I have enabled IPN but there is no difference. I should clarify, the Error that appears when it returns the user to my site is the same error that the console shows. It doesn’t actually alert the user until they leave the PayPal window back to the original page, however the error occurs immediately after launching the PayPal window in the first place. It seems to be an issue with jQuery on my site.
Thank you for your time,
EricForum: Plugins
In reply to: [WordPress Simple Shopping Cart] Getting jQuery Error When Checking OutHello,
The error message only appears after you click the pay button in the PayPal window and it attempts to return you to my website. Thats where the transaction fails, however you can see the error in the console immediately after clicking the PayPal button to launch the checkout window.
I am not sure how to perform these tests, but I have disabled all other plugins and this didn’t solve the issue. I am using the default TwentyTwenty theme.
Additionally, the error appears regardless of if I am using Sandbox or Live mode.
I hope this info helps!
Thank you for your time,
Eric- This reply was modified 4 years, 3 months ago by broketrainenthusiast.