Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Woocommerce shop page and the product page do not display correctly

woocommerce shipping
    • 6 years, 3 months ago Jiawei
      Participant

      Hi,

      I am currently using the Picante theme to build my own website. After I imported the demo data, I found that the Woocommerce shop page (https://food.coring.com.au/shop/) and the product page (https://food.coring.com.au/product/black-pasta-with-meat/) does not display correctly. Could you please help me to solve this problem? Thank you in advance.

    • 6 years, 3 months ago Ruco
      Keymaster

      Hello,

      Can you share with us your error logs so we can identify which PHP error cause this blank page.

      I recommend you to remove Codeless Builder. Click on Plugins > Add New > Search for Codeless Page Builder and install it.

      Keep in mind that your theme have the latest version installed.

      Let us know.

      Regards!

    • 6 years, 3 months ago Jiawei
      Participant

      Hi,

      On the product page, the error log is listed below:

      Fatal error: Uncaught Error: Call to a member function get_upsell_ids() on string in /home/foodcoringcom/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php:1969 Stack trace: #0 /home/foodcoringcom/public_html/wp-content/themes/picante/includes/codeless_functions_woocommerce.php(897): woocommerce_upsell_display() #1 /home/foodcoringcom/public_html/wp-includes/class-wp-hook.php(288): {closure}(”) #2 /home/foodcoringcom/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #3 /home/foodcoringcom/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /home/foodcoringcom/public_html/wp-content/themes/picante/includes/codeless_hooks.php(41): do_action(‘codeless_hook_c…’) #5 /home/foodcoringcom/public_html/wp-content/themes/picante/woocommerce.php(34): codeless_hook_content_begin() #6 /home/foodcoringcom/public_html/wp-includes/template-loader.php(98): include(‘/home/foodcorin…’) #7 /home/foodcoringcom/public_html/wp-blog-header.php(19): require_once(‘/ in /home/foodcoringcom/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1969

      I am using wordpress 5.3.2, woocommerce 4.0.0 and theme version 2.1.1.

      • This reply was modified 6 years, 3 months ago by Jiawei.
    • 6 years, 3 months ago Ludjon
      Keymaster

      Can you give me site credentials to fix it?

      Or manually go to picante/includes/codeless_woocommerce_functions.php

      replace this line (should be 891):

      add_action( 'codeless_hook_content_begin', function(){

      with:

      add_action( 'codeless_hook_content_end', function(){

      Thanks

    • 6 years, 3 months ago BettiAn
      Participant

      Hi, I have the same problem, but only with a page product of Woocommerce

      The site is 620passi.com

      If I visit the page of single product. the page not render correctly

      I’m Use:

      Picante: 2.11

      Woocommerce: 4.0.0

      The Woocommerce say me the theme have old file.

      Can you help me to fix it? Thanks a lot (sorry for my english)

      Andrea

       

      PS; I had send an email to [email protected] from [email protected]

      Object: Problem WooCommerce and Template “Picante”

      In the email you can find all the information.

      Thanks you so much really

       

      • This reply was modified 6 years, 3 months ago by BettiAn.
    • 6 years, 3 months ago Ludjon
      Keymaster

      Hi,

      Please can you do the same change as I have already written in the previous reply?

      Thanks

    • 6 years, 3 months ago BettiAn
      Participant

      OK thanks :-)  Better, no more error shows a brief preview of the product and correctly refers to the product link.

       

      Now, we have another small problem :-(

      on the Cart page, in no way takes into account shipping costs, both using the Woocommerce options and other plugins (but it depends on the plugin). I have already tried to install an old version of Woocommerce … and the calculation was done correctly.

      Can you check to see if it’s still a template problem?

       

      Thank you very much

    • 6 years, 3 months ago BettiAn
      Participant

      If it can help you, I checked the logs and the problem could be here. I don’t know if this is the problem of Shipping method but this is an error :-)

      CRITICAL Uncaught Error: Call to a member function get_upsell_ids() on string in /home/jijuvtdm/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php:1962
      Stack trace:
      #0 /home/jijuvtdm/public_html/wp-content/themes/picante/includes/codeless_functions_woocommerce.php(897): woocommerce_upsell_display()

       

       

      Thank you very very much

       

       

       

      • This reply was modified 6 years, 3 months ago by BettiAn.
      • This reply was modified 6 years, 3 months ago by BettiAn.
    • 6 years, 3 months ago BettiAn
      Participant

      Ok, thank you. I resolved.

      the problem was the compatibility with the version of Woocommerce (4.0.0) and the plugin Flexible Shipping.

      With your suggestion (replace the code in the <span style=”color: #4b4d4d; font-family: Raleway; font-size: 14px;”>codeless_woocommerce_functions.php :.. ) </span>

      I solved my problem.

       

      Thank you so much.

      Have a nice day.

      (Only an information. the theme now is declared compatible with Woocommerce on 3.6.3)

      Thank you again

Viewing 8 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password