Forum Replies Created
-
AuthorPosts
-
brentSupport Expired
Hi Harry.
I finally updated the theme and I have the following… do you need to look at this?Thanks,
BrentThank you!
BrentbrentSupport ExpiredHi Harry.
Is there an update for this?
WPBakery Page Builder
You have version 6.0.3 installed. Update to 6.0.5Thank you,
BrentThank you!
BrentbrentSupport ExpiredHey Harry is there an update for WPBakery Page Builder? Did I miss a theme update? I believe I’m on 1.75.
Thank you!
BrentThank you!
BrentbrentSupport ExpiredHey Harry, I’m wanting to add the style# (SKU) directly below the item title on the shop page. I found this script but I’m not sure what the function is for the woocommerce skew to be added ..
Can you teach me something real quick? :0
Thanks.add_action( 'woocommerce_after_shop_loop_item_title', 'add_sku_to_shop_custom_action', 15 ); function add_sku_to_shop_custom_action() { echo 'TEST'; }
Thank you!
BrentbrentSupport ExpiredHi Harry.
I honestly don’t remember what I was trying to do with it. So for now I’ll just leave it out I guess. Here it is:
/* Change message for back ordered products */ function woocommerce_custom_cart_item_name( $_product_title, $cart_item, $cart_item_key ) { $altmessage = alt_message(); if ( $cart_item['data']->backorders_require_notification() && $cart_item['data']->is_on_backorder( $cart_item['quantity'] ) ) { $_product_title .= __( ' - '. $altmessage, 'woocommerce' ) ; } return $_product_title; } add_filter( 'woocommerce_cart_item_name', 'woocommerce_custom_cart_item_name', 10, 3);
Right now my big issue is that the plugin that I’m using for dynamic pricing for different roles (iThemeland WooCommerce Dynamic Prices By User Role Plugin) is not working. I have a request in, it was working before the WP update.
Thank you!
BrentbrentSupport ExpiredHey Harry I was wrong. It was this script:
‘
/* Change message for back ordered products */
function woocommerce_custom_cart_item_name( $_product_title, $cart_item, $cart_item_key ) {
$altmessage = alt_message();
if ( $cart_item[‘data’]->backorders_require_notification() && $cart_item[‘data’]->is_on_backorder( $cart_item[‘quantity’] ) ) {
$_product_title .= __( ‘ – ‘. $altmessage, ‘woocommerce’ ) ;
}
return $_product_title;
}
add_filter( ‘woocommerce_cart_item_name’, ‘woocommerce_custom_cart_item_name’, 10, 3);‘
Thank you!
BrentbrentSupport ExpiredWell Harry I went through all of the plugins: not the issue.
I added the plugin and moved the Google script there: not the issue.
I did find some duplicated jQuery scripts and fixed those: not the issue.
I finally found the problem with the last script you gave me to add to functions to not show the “closeout” category on the shop page! I added it below… can you fix it please?
Just about drove myself beyond CRAZY! 🙂 lol
‘
/**
* Exclude products from a particular category on the shop page
*/
function custom_pre_get_posts_query( $q ) {if( is_shop()) {
$tax_query = (array) $q->get( ‘tax_query’ );$tax_query[] = array(
‘taxonomy’ => ‘product_cat’,
‘field’ => ‘slug’,
‘terms’ => array( ‘closeouts’ ), // Don’t display products on the shop page.
‘operator’ => ‘NOT IN’
);$q->set( ‘tax_query’, $tax_query );
}
}
add_action( ‘woocommerce_product_query’, ‘custom_pre_get_posts_query’ );‘
Thank you!
BrentbrentSupport ExpiredHey Harry there’s something going on with the site. Some kind of technical difficulty that I’ve never seen before. Would you take a look please. I know WP core has recently updated but not sure what’s going on.
Thanks,
Brent
Thank you!
BrentbrentSupport ExpiredGot it!
Thanks Harry!
Thank you!
BrentbrentSupport ExpiredHi Harry.
Well the links work now 🙂 Most of the errors are gone 🙂 But the tooltip doesn’t show like it did before…?
Thank you.
Thank you!
Brent -
AuthorPosts