Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi can you test the following.

    Try this shortcode.

    [wp_cart_button name=”The Sacred Harp single copy and Makers” price=”20.00″ shipping=”3.75″]

    Notice how I removed the braces.

    Thread Starter jpksilversand

    (@jpksilversand)

    Hi, thanks for this suggestion. I’ve just tried it, replacing the previous shortcode with the parentheses in it with this, as per your suggestion:

    [wp_cart_button name="The Sacred Harp single copy and Makers" price="20.00" shipping="3.75"]

    However I still get the same extremely high price. I also notice that when I use other buttons on the page, which also contain parentheses in their shortcode, I don’t get this error.

    Thanks in advance for any other suggestions.

    Thread Starter jpksilversand

    (@jpksilversand)

    It’s perhaps also worth noting that this is a new issue and that I’ve had the button and shopping cart working correctly for quite some time. Perhaps the issue is related to a recent WP or plugin update?

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, do you know what plugin you have updated prior to this issue happening?

    If you don’t know or can’t remember, try the following disable all your plugins, then check to make sure you don’t have an issue. Then if you don’t have an issue that means that it is a conflict with a plugin. Start enabling one by one your plugins and at the same time carrying out a test. Do this until your run into the conflicting plugin.

    Thread Starter jpksilversand

    (@jpksilversand)

    Thanks for the suggestion. I just deactivated all plugins except for the WP Simple Paypal Shopping Cart Plugin and the issue persisted. So it seems conflict with another plugin is not the issue. When I mentioned having updated plugins recently, I was referring to recently updating this plugin.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi can you enable Debug Mode log out. Carry out another test and then log back in as admin and check the log file.

    Thread Starter jpksilversand

    (@jpksilversand)

    Hi, I’ve just enabled debug mode by altering the wp-config file, and also added the command to enable the log. I logged out, logged back in, added the item to the shopping cart, triggering the error, and visited the log file. You can access the file itself here:

    http://originalsacredharp.com/wp-content/debug.log

    Here’s the log:

    [29-Dec-2015 01:08:56 UTC] PHP Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:08:56 UTC] PHP Notice: add_custom_image_header is deprecated since version 3.4! Use add_theme_support( ‘custom-header’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:01 UTC] PHP Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:01 UTC] PHP Notice: add_custom_image_header is deprecated since version 3.4! Use add_theme_support( ‘custom-header’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:03 UTC] PHP Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:03 UTC] PHP Notice: add_custom_image_header is deprecated since version 3.4! Use add_theme_support( ‘custom-header’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:04 UTC] PHP Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:04 UTC] PHP Notice: add_custom_image_header is deprecated since version 3.4! Use add_theme_support( ‘custom-header’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:04 UTC] PHP Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3732
    [29-Dec-2015 01:09:06 UTC] PHP Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:06 UTC] PHP Notice: add_custom_image_header is deprecated since version 3.4! Use add_theme_support( ‘custom-header’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:11 UTC] PHP Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:11 UTC] PHP Notice: add_custom_image_header is deprecated since version 3.4! Use add_theme_support( ‘custom-header’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:17 UTC] PHP Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:17 UTC] PHP Notice: add_custom_image_header is deprecated since version 3.4! Use add_theme_support( ‘custom-header’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:21 UTC] PHP Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568
    [29-Dec-2015 01:09:21 UTC] PHP Notice: add_custom_image_header is deprecated since version 3.4! Use add_theme_support( ‘custom-header’, $args ) instead. in /home/silver/public_html/originalsacredharp.com/wp-includes/functions.php on line 3568

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, can you test one of WordPress default themes like Twenty Fifteen?

    I think your theme is causing some issues.

    Did you enable the Debug Mode in the plugin? I should have mentioned the plugin’s Debug Mode option. Sorry!!!!

    Regards

    Thread Starter jpksilversand

    (@jpksilversand)

    Hello. I just tried activating the 2015 theme and this did not solve the problem. Adding this particular item to the shopping cart still causes the same oddly high number to show in the shopping cart. I’ve reverted to our theme since this theme profoundly disrupts the look of the site. How do I enable Debug Mode for the plugin??

    Thread Starter jpksilversand

    (@jpksilversand)

    Okay—I checked the settings page and figured out how to turn on debug mode for the plugin. I then logged out, logged in again, and tried adding the item to the shopping cart, and it still adds the ridiculously high number. Any new insights from the log file? It is definitely starting to seem like this is an issue with the plugin itself, no?

    Plugin Contributor mbrsolution

    (@mbrsolution)

    There is another setting you might like to check and that is your PayPal account. Make sure you don’t have any taxes or shipping cost enabled in your account.

    Thread Starter jpksilversand

    (@jpksilversand)

    Hi MBRSolution,

    Thanks for this suggestion as well. I’ve logged into PayPal and have double checked that I don’t have any taxes or shipping costs enabled. Furthermore, as I’ve indicated, this issue only applies to this button, not the other buttons on the page.

    Do you think it is okay to turn off the debug mode for WordPress yet? It’s causing errors all over the site.

    Thanks for your continued help with this.

    Best,
    Jesse

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi yes please turn off the Debug mode. You should really only enable it to view the errors and then turn it off. I should have mentioned that myself, sorry about that.

    You mention that it only happens with this button and not the other buttons. What are the difference between the buttons?

    Thread Starter jpksilversand

    (@jpksilversand)

    Okay—I’ve turned off debug mode again. Thanks for that.

    The page with the buttons that creates this issue with the shopping cart has four buttons:

    http://originalsacredharp.com/ordering-the-sacred-harp/

    If I click on any of the other three buttons the shopping cart works as usual, displaying the correct amount and the correct item. But if I press the first button, it displays just ”The and gives the exceptionally high item amount in the shopping cart.

    Here’s the code for all four buttons. You can view the page and see for yourself how the error manifests at the link above.

    <ul>
    	<li class="alert">Special deal: Purchase a single copy of <em>The Sacred Harp</em> and receive a free <a title="The Makers of the Sacred Harp" href="http://originalsacredharp.com/the-makers-of-the-sacred-harp/" target="_blank"><em>Makers</em></a> (domestic only, additional shipping costs): [wp_cart_button name="The Sacred Harp single copy and Makers" price="20.00" shipping="3.75"]</li>
    	<li>Single copy (domestic): [wp_cart_button name="The Sacred Harp (single copy)" price="20.00" shipping="2.75"]</li>
    	<li>Case of 6 books (domestic): [wp_cart_button name="The Sacred Harp (case of six books)" price="120.00" shipping="12.75"]</li>
    	<li>Case of 6 books (international): [wp_cart_button name="The Sacred Harp (case of six books, international)" price="135.00" shipping="0"]</li>
    </ul>

    Thanks again for all your help.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi can you carry out the following test.

    Remove the first button and place it at the end of the list of buttons. Then click on the button again and see if you still get the same results. If you don’t then you know the button code is okay and working well.

    Then can you click on the first button and see if you get the same results as you did with the now end button. If you do then I think placing all 4 buttons in between

      tags is causing for some unknowing reason for the first button to sum up all of the 4 buttons together.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Shopping Cart Displays Incorrect and Extremely Large Total’ is closed to new replies.