Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
Cheers guys. Appreciated.
This reply has been marked as private.Hi David,
We have updated the Uplift theme to 1.2.60 but are still encountering the issue.
Cheers,
TimHi Kyle,
Ahhhh Great fix!
Thanks a bunch.
Cheers,
TimHi David,
Uplift Version: 1.0
Swift Framework: Version 2.4.0Cheers,
TimHi Kyle,
Uplift theme.
Cheers,
TWe already have that installed : )
It seems that SF is removing woocommerce scripts if it doesn’t find woocommerce css classes on the page.
Dev feedback
After analysis, we found that the WooCommerce’s JS( like woocommerce.min.js , add-to-cart.min.js, etc ) are not loading on site pages. The code of dequeuing this scripts in theme (themes/uplift/swift-framework/core/sf-woocommerce.php From function sf_remove_woo_scripts Line – 44) . Here it checks if the body on the page contains CSS class woocommerce and depending on this condition it dequeues the script on unnecessary pages.
Cheers,
A
This reply has been marked as private.Hey Rui,
Tried that code but no love 🙁
Cheers,
THi Rui,
The PHP snippet below is removing 2 categories from showing on the shop but when you use pagination it’s not removing the categories.
Cheers,
Tim——
<?php>
/* Remove categories from shop page
==================================================
*/
add_action( ‘pre_get_posts’, ‘custom_pre_get_posts_query’ );
function custom_pre_get_posts_query( $q ) {
if ( ! $q->is_main_query() ) return;
if ( ! $q->is_post_type_archive() ) return;if ( ! is_admin() && is_shop() ) {
$q->set( ‘tax_query’, array(array(
‘taxonomy’ => ‘product_cat’,
‘field’ => ‘slug’,
‘terms’ => array( ‘howlers’, ‘mixed-case’ ), // Don’t display products in these categories on the shop page
‘operator’ => ‘NOT IN’
)));}
remove_action( ‘pre_get_posts’, ‘custom_pre_get_posts_query’ );
}——
Hi Kyle,
Is load more an option we can use with the theme?
Thanks,
TimHi David,
Scrap that I figured it out.
Cheers for your help!
Tim
Hi David,
Added the icon to the menu item, thanks for that.
Still can’t get the elements to center though, was there anything I need to add to the menu items? i.e:
‘Custom HTML Column (within Mega Menu)’.Cheers,
TimHi Kyle,
Also we are really keen to use the ‘fa-angle-down’ icon on the main nav (Honesty Box Shop Howler About) but on the right hand side.
Cheers,
TimHi Kyle,
honestbrew.co.uk should be working now, just had a few issues.
Cheers,
Tim -
Posted in: We hit Power Elite.