Title: zhakal's Replies | WordPress.org

---

# zhakal

  [  ](https://wordpress.org/support/users/zhakal/)

 *   [Profile](https://wordpress.org/support/users/zhakal/)
 *   [Topics Started](https://wordpress.org/support/users/zhakal/topics/)
 *   [Replies Created](https://wordpress.org/support/users/zhakal/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/zhakal/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/zhakal/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/zhakal/engagements/)
 *   [Favorites](https://wordpress.org/support/users/zhakal/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] After upgrade to 3.X I get zero price](https://wordpress.org/support/topic/after-upgrade-to-3-x-i-get-zero-price/)
 *  Thread Starter [zhakal](https://wordpress.org/support/users/zhakal/)
 * (@zhakal)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/after-upgrade-to-3-x-i-get-zero-price/#post-10445966)
 * The product is having a price as it should on the item page.
    It shows up correctly
   when viewing, but once it’s added to the cart it shows zero on the total on minicart.
 * In the actual “Cart Items” it shows zero on the item, but not on the total.
 * On the “Cart totals” it shows zero on both.
 * [Screenshot 1](https://ibb.co/nJZgEo)
    [Screenshot 2](https://ibb.co/kwmduo) 
   [Screenshot 3](https://ibb.co/eWV7LT)
 * The main difference is between a working one and a non-working is on the add_to_cart
   area for adding it to the cart:
 *     ```
       <form id="carting-form" action="<?php echo wc_get_cart_url(); ?>" method="post" enctype='multipart/form-data'>
       	<div id="product-info-cnt">
       		<?php echo $product->get_pricing_html(); ?>
       		<input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $product->get_id() ); ?>">
       		<input type="hidden" name="link-back" value="<?php echo esc_attr( $product->get_id() ); ?>">
       	</div>
       </form>
       ```
   
 * Other one is the pricing-options.php
    [https://gist.github.com/larsmagnusherland/bcd8318846d54e7490fe02469daf5802](https://gist.github.com/larsmagnusherland/bcd8318846d54e7490fe02469daf5802)
 * Tried so many things for the last weeks to figure out where this is, but soon
   giving up. Most other kinks have been solved, but this I really don’t see. Might
   be blinded by code 😀
    -  This reply was modified 7 years, 9 months ago by [zhakal](https://wordpress.org/support/users/zhakal/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] After upgrade to 3.X I get zero price](https://wordpress.org/support/topic/after-upgrade-to-3-x-i-get-zero-price/)
 *  Thread Starter [zhakal](https://wordpress.org/support/users/zhakal/)
 * (@zhakal)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/after-upgrade-to-3-x-i-get-zero-price/#post-10438249)
 * [@jessepearson](https://wordpress.org/support/users/jessepearson/)
    Here is the
   full file. [https://gist.github.com/larsmagnusherland/06c4779f7087d3647e2b8207f5370275](https://gist.github.com/larsmagnusherland/06c4779f7087d3647e2b8207f5370275)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Payment Status on Invoice](https://wordpress.org/support/topic/payment-status-on-invoice/)
 *  Thread Starter [zhakal](https://wordpress.org/support/users/zhakal/)
 * (@zhakal)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/payment-status-on-invoice/#post-9726419)
 * Thanks for the reply. Then I will get the premium version to easily add the missing
   fields.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Access denied after update](https://wordpress.org/support/topic/access-denied-after-update/)
 *  Thread Starter [zhakal](https://wordpress.org/support/users/zhakal/)
 * (@zhakal)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/access-denied-after-update/#post-9529179)
 * It’s a custom theme developed by an American Company.
    It’s added in a file called
   filters.php, and seem to have been there for a long while (Pre 2017) and hasn’t
   given any issue until now.
 * At least it was solved by removing it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Access denied after update](https://wordpress.org/support/topic/access-denied-after-update/)
 *  Thread Starter [zhakal](https://wordpress.org/support/users/zhakal/)
 * (@zhakal)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/access-denied-after-update/#post-9529085)
 * It seems the creator of the theme has added the following line:
    add_filter( ‘
   wpo_wcpdf_check_privs’, function() { return false; });
 * By removing this, everything seem to be working.
 * What does this line do? Is it needed for security?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Access denied after update](https://wordpress.org/support/topic/access-denied-after-update/)
 *  Thread Starter [zhakal](https://wordpress.org/support/users/zhakal/)
 * (@zhakal)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/access-denied-after-update/#post-9524194)
 * If I disable all the plugins except:
    Advanced Custom Fields PRO WooCommerce 
   WooCommerce Customer/Order CSV Export
 * The issue still occurs. Have even tried to change back to the “simple” template.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Access denied after update](https://wordpress.org/support/topic/access-denied-after-update/)
 *  Thread Starter [zhakal](https://wordpress.org/support/users/zhakal/)
 * (@zhakal)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/access-denied-after-update/#post-9522500)
 * **The URL is the following:**
 * [https://example.com/wp-admin/admin-ajax.php?action=generate_wpo_wcpdf&document_type=invoice&order_ids=14953&_wpnonce=b913843509](https://example.com/wp-admin/admin-ajax.php?action=generate_wpo_wcpdf&document_type=invoice&order_ids=14953&_wpnonce=b913843509)
 * **Plugins:**
    Abandoned Cart Pro for WooCommerce Admin Columns Pro Admin Columns
   Pro – Advanced Custom Fields (ACF) Admin Columns Pro – WooCommerce Advanced Custom
   Fields PRO AJAX Thumbnail Rebuild Archived Post Status Breadcrumb NavXT Category
   Wise Search Widget Custom Post Type UI Custom Taxonomy Order NE Email Notifications
   for WP Security Audit Log Enable Media Replace Enhanced E-commerce for Woocommerce
   store Enhanced Media Library Flip Book GetResponse Integration Plugin Gravity
   Forms Icegram – Popups, Optins, CTAs & lot more… MCE Table Buttons Post Types
   Order Posts Date Ranges PW Advanced Woo Reporting Redirection Reports for WP 
   Security Audit Log Reset User Passwords SB Welcome Email Editor Search for WP
   Security Audit Log User Role Editor User Role Editor Users Sessions Management
   for WP Security Audit Log wBounce Woo Checkout Field Editor Pro WooCommerce WooCommerce
   Create Customer on Order WooCommerce Customer History WooCommerce Customer/Order
   CSV Export WooCommerce Extended Coupon Features PRO WooCommerce Helper WooCommerce
   Order Export and More WooCommerce PayPal Pro (Classic and PayFlow Editions) Gateway
   WooCommerce PDF Invoices & Packing Slips WooCommerce Sales Report Email WooCommerce
   Shop as Customer WooCommerce Smart Reminder Emails WooCommerce Store Credit WooCommerce
   Zapier Integration WP Security Audit Log WP Smush Yoast SEO
 * All the plugins are up to date.
    -  This reply was modified 8 years, 6 months ago by [zhakal](https://wordpress.org/support/users/zhakal/).
      Reason: Removal of junk from Copy-Paste
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [GWT is showing Missing: author & updated error in Divi Child Theme](https://wordpress.org/support/topic/gwt-is-showing-missing-author-updated-error-in-divi-child-theme/)
 *  [zhakal](https://wordpress.org/support/users/zhakal/)
 * (@zhakal)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/gwt-is-showing-missing-author-updated-error-in-divi-child-theme/#post-9063051)
 * By adding this, I manage to remove the “Update” one, but still lacking Author.
 *     ```
       function et_last_modified_date_blog( $the_date ) {
       if ( ‘post’ === get_post_type() ) {
       $the_time = get_post_time( ‘His’ );
       $the_modified = get_post_modified_time( ‘His’ );
   
       $last_modified = sprintf( __( ‘Last updated %s’, ‘Divi’ ), esc_html( get_post_modified_time( ‘M j, Y’ ) ) );
       $date = $the_modified !== $the_time ? $last_modified : get_post_time( ‘M j, Y’ );
   
       return $date;
       }
       }
       add_action( ‘get_the_date’, ‘et_last_modified_date_blog’ );
       add_action( ‘get_the_time’, ‘et_last_modified_date_blog’ );
       ```
   
 * _[Moderator note: code fixed. Please wrap code in the backtick character or [use the code button](https://codex.wordpress.org/Forum_Welcome#Posting_Code).]_
    -  This reply was modified 8 years, 12 months ago by [bdbrown](https://wordpress.org/support/users/bdbrown/).
    -  This reply was modified 8 years, 12 months ago by [bdbrown](https://wordpress.org/support/users/bdbrown/).

Viewing 8 replies - 1 through 8 (of 8 total)