apetruzzi
Forum Replies Created
-
no worries. i appreciate and thank you for taking the time to verify the issue and reporting it. in the future, where should we be submitting bug reports for issues with WFC? i know this isn’t the place for them.
@wfpeter thank you for your help. i did as you suggested and still have the issue, i even cleared my cached and used an incognito window. i am using Google Chrome Version 86.0.4240.75 (Official Build) (64-bit). the site names are all in different formates, such as:
bbbbbbbbbb.com
gggggggggg.com
https://www.aaaaaaa.com
https://www.aaaaaab.com
https://www.bbbbb.com
mmmmmmmm.us/shop_template
mmmmmmmm.us/dental_templatesorting, these sites should end up as:
bbbbbbbbbb.com
gggggggggg.com
mmmmmmmm.us/dental_template
mmmmmmmm.us/shop_template
https://www.aaaaaaa.com
https://www.aaaaaab.com
https://www.bbbbb.combue they don’t
Forum: Plugins
In reply to: [Modal Window - create popup modal window] trigger via javascriptfigured it out. the plugin doesn’t support this directly, so i had to hack the hell out of it. Basically what I’m doing is rather than trying to trigger the modal with javascript, I am creating a hidden div with the modal html code and then using jQuery to clone html code (with events) and move it where I wanted.
first i added an action to wp_footer in my theme’s functions php that outputted a hidden div with an actual link calling the modal:
functions.php
————-
add_action( ‘wp_footer’, ‘my_modal_code’ );
public function my_modal_code()
{
?>
<div style=”display:none;” id=”my_modal_code”>
Open Modal
</div>
<?
}Next I used jQuery to clone (with events) and move the html code where I want it.
sc = jQuery(‘#my_modal_code’).clone(true);
jQuery(‘#my_modal_code’).remove();
jQuery(‘p’).prepend( sc.show() );This was a conflict with the following plugin:
WP Real Categories Management
by https://devowl.io/Forum: Reviews
In reply to: [Blog2Social: Social Media Auto Post & Scheduler] Get rid of the Nag messagei have upgraded to 5.9.0 and the nag message is still there even after I click the hide link.
The reason I suggest this is that currently there is no way to change the error message for a field without resorting to some sort of CSS hackery on the frontend which is touchy at best.
If you removed that check, then it would be extremely easy to change the error message. You could add another filter later on in the chain to check if the field was invalid with get_invalid_fields() and if so just call invalidate() again with the message you wanted.
Forum: Plugins
In reply to: [Extra Fees for WooCommerce] Migrating from WooCommerce Extra CostSorry was out of town. Thank you for getting back to me. It’s disappointing that this plugin is promoted as the replacement for the WooCommerce Extra Cost plugin but doesn’t do the data migration. Might be something for a PRO feature in the future.
Forum: Plugins
In reply to: [Extra Fees for WooCommerce] Migrating from WooCommerce Extra CostWe have installed the Conditional Product Fees For WooCommerce Checkout and none of the setting from the WooCommerce Extra Cost were migrated over. Is there something that we have to do in order for this to be done or do we have to just do it manually?
Just to clarify. What we are asking is that if a product had settings (like and Extra Shipping Cost) configured using the “WooCommerce Extra Cost” plugin, would those configurations be brought over to the “Conditional Product Fees For WooCommerce Checkout” plugin.
- This reply was modified 5 years, 4 months ago by apetruzzi.
Forum: Plugins
In reply to: [WooCommerce] Facebook for WooCommerce – “Auto-update not available?”We are having the same issue with v1.9.5 which has a security vulnerability (https://wpvulndb.com/vulnerabilities/9356). I need to update to v1.9.15 to address it, but cannot cause of this error. I don’t know why this issue was marked as Resolved when there was no followup and the issue is still happening with later versions.
Forum: Plugins
In reply to: [Activity Log - Monitor & Record User Changes] user / Logged OutFor people finding this through Google.
These are false positives. All they are is a bot, hitting the logout url of your site:
https://example.com/wp-login.php?action=logout&_wpnonce=e560c09cf0
and then following the “Do you really want to log out?”.
You can do see this yourself.
Open up your WordPress admin in Chrome and log into and go to the Activity Log. You should see an entry for yourself logging in.
No open up an Incognito Window and paste in the following link:
https://[your wordpress address]/wp-login.php?action=logout&_wpnonce=e560c09cf0
Obviously I don’t have to tell you to replace [your wordpress address] with your actual site address.
You should get a page with the below text:
You are attempting to log out of IT WAS FOUND ONLINE!!!
Do you really want to log out?Now click the “log out” link. Now go back to your other browser and refresh your Activity Log, you will see the phantom log out entry.
Forum: Plugins
In reply to: [WooCommerce] Hook into WC()->cart->get_cart_subtotal()?John,
Thank for your reply.
It is my understanding that WooCommerce only recalculates the subtotals of cart line items when the user visits the actual cart page or when fragments are updated via ajax and NOT when the item is actual added to the cart. To me this an oversight as all subtotals and total in the cart should be recalculated whenever something in the cart changes.
In any event, I managed to figure out my issue by hooking into the woocommerce_cart_subtotal action as shown below:
/*
* Capture HTML before Dynamic Pricing modifies
*/
public function woocommerce_cart_subtotal( $cart_subtotal, $compound, $instance ) {
$subtotal = 0;
foreach ( WC()->cart->get_cart() as $cart_item ) {
$subtotal += $cart_item[‘data’]->get_price(‘edit’) * $cart_item[‘quantity’];
}
return wc_price( $subtotal );
}