mbenatar
Forum Replies Created
-
I am not using PMPro plus.
What would the custom CSS code be?
Thank you. Fortunately we have an account with Zapier and I set that up yesterday after reading your reply. Let me know if you ever get the Paid Membership Pro, Constant Contact add on working. Thank you.
mbenatar
Forum: Fixing WordPress
In reply to: Paid Membership Pro, Constant Contact add onThank you. I posted in the other forum. Will see if I can get this issue resolved.
Forum: Fixing WordPress
In reply to: Paid Membership Pro, Constant Contact add onOkay. This was a free PMPRO add-on plugin and the only way for me to get support is to pay for it. VERY frustrating.
Forum: Fixing WordPress
In reply to: Site Crashed after auto update of WordPress 5.3@jeramson do you have this original file for Highend Theme? class-install-plugins.php
Maybe paste the code. Otherwise I am totally lost here.
Forum: Fixing WordPress
In reply to: Site Crashed after auto update of WordPress 5.3Does any one have this original file for Highend Theme? class-install-plugins.php
Forum: Fixing WordPress
In reply to: Site Crashed after auto update of WordPress 5.3So I guess that my clients website is gone and can’t be recovered. Any input? I should have never pasted that code.
Forum: Fixing WordPress
In reply to: Site Crashed after auto update of WordPress 5.3I really screwed up. I can’t revert back to the original code and have no screenshot the of the original
Forum: Fixing WordPress
In reply to: Site Crashed after auto update of WordPress 5.3Supportt a hostgator is useless. I have no access after I screwed up the file by pasting the code and don’t know what to do.
Forum: Fixing WordPress
In reply to: Site Crashed after auto update of WordPress 5.3Now nothing works, back end or front end. I am really screwed now and I don’t know what to do to get my client’s website back up!
Forum: Fixing WordPress
In reply to: Site Crashed after auto update of WordPress 5.3I am not a coder but have the same issue. Not sure what part of this code to cut and paste. Just this at line 12? It doesn’t work. Have tried it now I don’t know how to get back what in the file originally
class HB_Upgrader_Skin extends WP_Upgrader_Skin {
public function feedback( $string ) {
return;
}to
class HB_Upgrader_Skin extends WP_Upgrader_Skin {
public function feedback($string, …$args) {
return;
}Forum: Plugins
In reply to: [My Custom Functions] Fatal ErrorThank you. I did this process and was able to get my site back up. But I am not a coder and never was able to figure out the syntax error of this css code.
// add hidden field in order after checkout
add_action( ‘woocommerce_checkout_before_customer_details’, ‘my_custom_checkout_hidden_field’, 10, 1 );
function my_custom_checkout_hidden_field( $checkout ) {
foreach ( WC()->cart->get_cart() as $cart_item ) {
$product = $cart_item[‘data’];
if(!empty($product)){
$webinar_id = $product->get_attribute( ‘webinar_id’ );
// Output the hidden field
echo ‘<div id=”user_link_hidden_checkout_field”>
<input type=”hidden” class=”input-hidden” name=”webinar_id” id=”webinar_id” value=”‘ . $webinar_id . ‘”>
</div>’;
}
}
}
// save hidden field in the order
add_action( ‘woocommerce_checkout_update_order_meta’, ‘save_custom_checkout_hidden_field’, 10, 1 );
function save_custom_checkout_hidden_field( $order_id ) {
if ( ! empty( $_POST[‘webinar_id’] ) )
update_post_meta( $order_id, ‘_webinar_id’, sanitize_text_field( $_POST[‘webinar_id’] ) );
}
//only 1 prod in cart for WooC
add_filter( ‘woocommerce_add_to_cart_validation’, ‘bbloomer_only_one_in_cart’, 99, 2 );
function bbloomer_only_one_in_cart( $passed, $added_product_id ) {
// empty cart first: new item will replace previous
wc_empty_cart();
return $passed;
}Forum: Plugins
In reply to: [WooCommerce] Woocommerce Paypal CheckoutThank you. I resolved it a while back.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce, Zoom, PayPalHello dougaitken,
I have gotten it all sorted out and functioning after lots of trial and error.Thank you for reaching out.
mbenatar