zhakal
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] After upgrade to 3.X I get zero priceThe 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
Screenshot 2
Screenshot 3The 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/bcd8318846d54e7490fe02469daf5802Tried 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 6 years, 4 months ago by zhakal.
Forum: Plugins
In reply to: [WooCommerce] After upgrade to 3.X I get zero price@jessepearson
Here is the full file.
https://gist.github.com/larsmagnusherland/06c4779f7087d3647e2b8207f5370275Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Payment Status on InvoiceThanks for the reply. Then I will get the premium version to easily add the missing fields.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Access denied after updateIt’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
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Access denied after updateIt 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
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Access denied after updateIf I disable all the plugins except:
Advanced Custom Fields PRO
WooCommerce
WooCommerce Customer/Order CSV ExportThe issue still occurs. Have even tried to change back to the “simple” template.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Access denied after updateThe URL is the following:
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 SEOAll the plugins are up to date.
- This reply was modified 7 years, 2 months ago by zhakal. Reason: Removal of junk from Copy-Paste
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.]