the_wpexperts
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Product Pic for Variation ProductsHi Aliano,
Please make sure the site is not producing any js error. Also, check if you are not using any other plug-in for product media library as that can also be the reason for this issue.
You can check this by replacing the product-image.php and product-thumbnails.php file from the default woocommerce files.Forum: Plugins
In reply to: [WooCommerce] No option in wordpress to update woo commerce 3.09It seems either the upgradation of WooCommerce has been disabled by some other plugin or it has been disabled using the filter code under the php file.
To ensure it has not been disabled find the filter by searching the keyword ‘site_transient_update_plugins’ under the files.The function should be written like this:
add_filter( ‘site_transient_update_plugins’, ‘filter_plugin_updates’ );
function filter_plugin_updates( $value ) {
unset( $value->response[‘woocommerce/woocommerce.php’] );
}Forum: Plugins
In reply to: [WooCommerce] free shipping for specific productsHi,
Please follow steps mentioned in the below url.
https://www.remicorson.com/woocommerce-free-shipping-on-a-per-product-basis-in-the-same-cart/Forum: Plugins
In reply to: [WooCommerce] Install woocommerceHi,
(1) Yes, it is completely safe to upgrade to version 4.8.2, infact this version is safer than 4.6.3, However, we’ll advise you to still take a backup before you go ahead with the upgrade process.
(2) To keep the appearance of your store menus and pages intact, simply localize your woocommerce template in the current theme. After that, if you upgrade woocommerce,it will not effect the layout of your pages.Forum: Plugins
In reply to: [WooCommerce] Subtotal shopping cart flip to VATHi,
Please share the URL of the website where you’re facing the issue.
Forum: Plugins
In reply to: [WooCommerce] Menu Order?You can use drag and drop feature to show more than 200 products per page using the admin panel.
You can change Number of items per page in admin panel by adjusting navigation options. Just follow the below steps.
Go to All Products ->Top Right -> Screen Option -> Number of items per page
This will list all the products of the same category on a same page. Thereafter you can you can sort order via drag and drop
Forum: Plugins
In reply to: [WooCommerce] i have a problem with the single product page image not showingAdd below CSS in your css file.
.woocommerce-product-gallery__image {
float: unset !important;
}
Let me know if you still face any issues.
Forum: Plugins
In reply to: [WooCommerce] Can’t mix product X with product Y@dopestkideverr Please replace Product X and Product Y with the names of the products for which you want to apply cart conditions. Hope this resolves your issue.
Yes @makeonlineshops, you can change the add to cart text by using the following code in theme function.php file. You can change the button text according to product type.
add_filter(“woocommerce_product_add_to_cart_text”,”woocommerce_product_add_to_cart_text”,10,2);
function woocommerce_product_add_to_cart_text($text,$product){
if($product->get_type()==”simple”){
$text = __( ‘Add to cart’, ‘woocommerce’ );
}elseif($product->get_type()==”variable”){
$text = __( ‘Select options’, ‘woocommerce’ );
}
return $text;
}- This reply was modified 7 years, 6 months ago by the_wpexperts.
Forum: Plugins
In reply to: [WooCommerce] Can’t edit product fields in woocommerceThe problem could be due to so,e issue with the database. Please upgrade the MySQL version and this will be solved. If the issue still persists please let us know.
Forum: Plugins
In reply to: [WooCommerce] No email notificationsPlease check your Recipient(s) email is properly set or not using the following navigation under the admin panel:
Woocommerce->Settings->Emails->New Order->Recipient(s)Forum: Plugins
In reply to: [WooCommerce] Shop PageYou can increase the number of products per page on the shop by adding the below code in theme function.php file.
<?php
add_filter( ‘loop_shop_per_page’, ‘new_loop_shop_per_page’, 20 );
function new_loop_shop_per_page( $cols ) {
// Return the number of products you wanna show per page.
$cols = 16;
return $cols;
}
?>Forum: Plugins
In reply to: [WooCommerce] Shortcode to display product titles onlyYou can use the shortcode [products_by_category_slug product_cat=”category-slug” orderby=”rand”] by adding the below conde in theme function.php file.
<?php
add_shortcode( ‘products_by_category_slug’, ‘products_by_category_slug’ );
function products_by_category_slug( $atts, $content = null ) {
extract( shortcode_atts( array(
‘product_cat’ => ”,
‘orderby’ => ‘rand’,
), $atts));
?>
<ul class=”products”>
<?php
$args = array( ‘post_type’ => ‘product’, ‘posts_per_page’ => -1, ‘product_cat’ =>$product_cat, ‘orderby’ => $orderby);
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post(); global $product; ?>
<li class=”product”>
post->ID ) ?>” title=”<?php echo esc_attr($loop->post->post_title ? $loop->post->post_title : $loop->post->ID); ?>”>
<h3><?php the_title(); ?></h3>
<?php endwhile; ?>
<?php wp_reset_query(); ?><?php
}
?>I understand your query but it would be great if you could explain the process flow you have on your website. This will help me in providing an exact solution or a plugin for the required functionality.
Forum: Plugins
In reply to: [WooCommerce] How to make product(s) non-purchasable?Please add the below hook in the theme function.php file. You can also disable ‘Add To Cart’ feature for product categories.
function remove_product_description_add_cart_button(){
global $product;
// Set HERE your category ID, slug or name (or an array)
$category = ‘categoryslug’;
//Remove Add to Cart button from product description of product with id 1234
if ( has_term( $category, ‘product_cat’, $product->id ) )
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 30 );
}
add_action(‘wp’,’remove_product_description_add_cart_button’);- This reply was modified 7 years, 7 months ago by the_wpexperts.