ariban99
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] woocommerce widthits in my original post bhherbalsolutions.com
Forum: Plugins
In reply to: [WooCommerce] custom checkbox at checkoutforgot to mention, page is kosherbasix.com
Forum: Plugins
In reply to: [WooCommerce] advance woocommerce logshow i have download postman, but how do i find the reason for the 401 in postman, i know its not the credentials, i created new ones and copy and paste them but still get the same error.
my site is https:// so no issues there.
how do i debug or see logs as to WHY the 401 is happenning. either in postman or elsewhere?Forum: Plugins
In reply to: [WooCommerce] loop product display widthwow that works. thank you
Forum: Plugins
In reply to: [WooCommerce] default country and state multisite woocommerce checkoutnice i did not know its that easy to make a plugin, i will do that and then enable different plugins for different sites in my multi site
Forum: Plugins
In reply to: [WooCommerce] loop product display widthYes sorry about that. Its kosherbasix.com
Thank youForum: Networking WordPress
In reply to: default country and state multisite woocommerce checkoutthx
Forum: Plugins
In reply to: [WooCommerce] quntity in loop with auto + and –if no one has a solutions i will reach out to one of these experts
Forum: Networking WordPress
In reply to: error after cloning original site using ns clonei figured it out in case anyone else has this issue.
log into phpmyadmin to access your database, you will see a new set of database in your original website database, usually with a number so something like this wp_2_woocommerce_sessions
click on edit the sessions and delete any sessions that were copied over from the original database sessions.
that fixed it for me!
hopefully this can help someone with the same issueForum: Plugins
In reply to: [WooCommerce] cart subtotal price x weight variablehttps://koshernow.com/product/ground-beef/
i have over 500 products in middle of being built, here is one as an exampleForum: Plugins
In reply to: [WooCommerce] cart subtotal price x weight variablesorry i fixed that, the password protection is removed
Forum: Plugins
In reply to: [WooCommerce] cart subtotal price x weight variablehi
its being built, koshernow.com
you will see 2 sample products under meat>beef menu
thank youForum: Plugins
In reply to: [WooCommerce] cart subtotal price x weight variableby the way, here is my code to show price per lb ONLY for products that have that tag
add_filter( ‘woocommerce_get_price_html’, ‘wb_change_product_html’, 10, 2 );
// Adding a custom field to the price markup
function wb_change_product_html( $price, $product ) {//$wb_price_type = get_field(‘product_price_type’);
$wb_price_type = get_post_meta( $product->get_id(), ‘product_price_type’, true);if($wb_price_type) {
$price_html = ‘<span class=”amount”>’ . $price . ‘ ‘ . $wb_price_type . ‘</span>’;
}else {
$price_html = ‘<span class=”amount”>’ . $price . ‘</span>’;
}return $price_html;
}
add_filter( ‘woocommerce_cart_item_price’, ‘wb_change_product_price_cart’, 10, 3 );
// Adding a custom field to the price in the cart
function wb_change_product_price_cart( $price, $cart_item, $cart_item_key ) {//$wb_price_type = get_field( ‘product_price_type’, $cart_item[‘product_id’] );
$wb_price_type = get_post_meta( $cart_item[‘product_id’], ‘product_price_type’, true );if ($wb_price_type) {
$price = $price . ‘ ‘ . $wb_price_type;
}
else {
$price = $price;
}
return $price;
}
add_filter( ‘woocommerce_checkout_cart_item_quantity’, ‘wb_checkout_review’, 10, 3 );
// Adding a custom field to the price in the checkout items
function wb_checkout_review ( $quantity, $cart_item, $cart_item_key ) {//$wb_price_type = get_field( ‘product_price_type’, $cart_item[‘product_id’] );
$wb_price_type = get_post_meta( $cart_item[‘product_id’], ‘product_price_type’, true);if ( $wb_price_type ) {
$cart_item = ‘ ‘ . $wb_price_type . ” . sprintf( ‘× %s ‘, $cart_item[‘quantity’] );
}else {
$cart_item = ‘ ‘ . sprintf( ‘× %s’, $cart_item[‘quantity’] ) . ”;
}
return $cart_item;}