Support » Plugin: Jigoshop » Jigoshop, WordPress SEO & Atahualpa problem

  • Resolved KarlEngstrom

    (@karlengstrom)


    Hi Folks-

    I’m seeing a strange problem with the checkout page while using WordPress SEO & the Atahualpa theme. The payment gateways and the shipping options disappear when WordPress SEO is enabled. It doesn’t happen with the “Twenty something” themes and I’ve already gone through the “disable plugins” troubleshooting. This didn’t start happening until some of the recent updates to the plugin stack.

    I don’t see errors being thrown regarding this. I’m guessing there’s some conflict with an add_action directive but it’s eluding me so far.

    Has anyone else run into this? It may also be affecting WooCommerce?

    Here’s the current system report:

    ### WordPress Environment ###
    
    Home URL: http://www.karniekrawlers.com
    Site URL: http://www.karniekrawlers.com
    Jigoshop Version: 1.17.3
    Jigoshop Database Version: 1503180
    Log Directory Writable: ✕ To allow logging
    make /home/karniekr/public_html/wp-content/uploads/jigoshop-logs/ writable or define a custom JIGOSHOP_LOG_DIR.
    
    WP Version: 4.2
    WP Multisite: –
    WP Memory Limit: 96 MB
    WP Debug Mode:
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.5.23
    PHP Post Max Size: 64 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    SUHOSIN Installed: –
    MySQL Version: 5.5.42
    eAccelerator: ✕
    APC: ✕
    OpCache: ✕
    Short Open Tag:
    Allow URL fopen:
    Session:
    Cookie Path: /
    Save Path: /tmp
    Use Cookies:
    Use Only Cookies:
    Max Upload Size: 64 MB
    Default Timezone is UTC:
    fsockopen/cURL:
    SoapClient: ✕						Your server does not have the SOAP Client class enabled - some gateway plugins which use SOAP may not work as expected.
    Remote Post:
    Remote Get: 
    
    ### Server Locale ###
    
    decimal_point: .
    thousands_sep: N/A
    mon_decimal_point: N/A
    mon_thousands_sep: N/A
    
    ### Active Plugins (12) ###
    
    BulletProof Security: by AITpro | Edward Alexander – .51.7
    Enable Media Replace: by Måns Jonasson – 3.0.3
    Hello Dolly: by Matt Mullenweg – 1.6
    Jigoshop Table Rate Shipping: by Jigoshop – 3.3.4
    Jigoshop: by Jigoshop Limited – 1.17.3
    NextCellent Gallery: by WPGReady based on Alex Rabe & PhotoCrati work. – 1.9.26
    Fast Secure Contact Form: by Mike Challis
    Ken Carlson – 4.0.34
    
    Simple Page Ordering: by Jake Goldman
    10up – 2.2.4
    
    Theme My Login: by Jeff Farthing – 6.3.11
    TinyMCE Advanced: by Andrew Ozz – 4.1.9
    WordPress HTTPS: by Mike Ems – 3.3.6
    WP Maintenance Mode: by Designmodo – 2.0.3
    
    ### Settings ###
    
    Taxes Enabled:
    Shipping Enabled:
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### Jigoshop Pages ###
    
    Shop Base: #66 - /shop/
    Cart: #67 - /cart/
    Checkout: #73 - /checkout/
    Pay: #74 - /checkout/pay/
    Thanks: #75 - /checkout/thanks/
    My Account: #69 - /my-account/
    Edit Address: #70 - /my-account/edit-address/
    View Order: #72 - /my-account/view-order/
    Change Password: #71 - /my-account/change-password/
    Track Order: #68 - /order-tracking/
    Terms: Page not set
    
    ### Taxonomies ###
    
    Product Types: configurable (configurable)
    downloadable (downloadable)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    virtual (virtual)
    
    ### Theme ###
    
    Name: Atahualpa
    Version: 3.7.23
    Author URL: http://forum.bytesforall.com/
    Child Theme: ✕ – If you're modifying Jigoshop or a parent theme you didn't build personally we recommend using a child theme. See: How to create a child theme
    Jigoshop Support: Not Declared
    
    ### Templates ###
    
    Overrides: atahualpa/index.php

    Thanks

    https://wordpress.org/plugins/jigoshop/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    This is a compatibility problem.
    In 1.17.4 I added some instructions to fix that.

    Just go to your theme files and edit functions.php, and at the bottom of file before tag ?> paste this code:

    add_filter('jigoshop_get_template_once', function($require_once, $template_name){
    		switch($template_name){
    			case 'checkout/shipping_dropdown.php': $require_once = false; break;
    			case 'checkout/payment_methods.php': $require_once = false; break;
    		}
    
    		return $require_once;
    	},10,2);

    Works like a charm, Krzysztof, thanks so much. I’ll update the other threads on this around the web.

    Karl

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Jigoshop, WordPress SEO & Atahualpa problem’ is closed to new replies.