Ahir Hemant
@hemant-ahir on WordPress.org
Bio
Contributions Sponsored
- Member Since: January 2nd, 2014
- Location: Ahmedabad
Contribution History
Ahir Hemant’s badges:- Plugin Developer
- Translation Contributor
-
Posted a reply to How to hide path on single product, on the site WordPress.org Forums:
HiPlease add this function in your active theme's functions.php file add_action('template_redirect', 'ahirwp_remove_product_breadcrumbs' ); function ahirwp_remove_product_breadcrumbs(){… -
Posted a reply to Out Of Stock, on the site WordPress.org Forums:
Hi try to add this code in functions.php // Remove "Read More" button and disable… -
Posted a reply to no image needed, on the site WordPress.org Forums:
https://i.stack.imgur.com/mKcJO.pngRedirect to checkout page after added to cart.ThanksAhir -
Posted a reply to Star Rating not displaying on product page, on the site WordPress.org Forums:
HiI can see you have another plugin called: woo-virtual-reviews. Please try to deactivate that plugin.… -
Posted a reply to Adding custom field in checkout page not working, on the site WordPress.org Forums:
try this plugin: https://wordpress.org/plugins/woo-checkout-field-editor-pro/ThanksAhir -
Posted a reply to How to remove cart update notice, on the site WordPress.org Forums:
add_filter( 'wc_add_to_cart_message_html', '__return_false' ); Please try this if that works. might be that comes from… -
Posted a reply to Checkout Hooks not Working in version 8.3.0, on the site WordPress.org Forums:
Please share whole code so i can identify what's going wrong. -
Posted a reply to Error processing checkout. Please try again., on the site WordPress.org Forums:
Have you checked the fatal error logs? WooCommerce does try to capture fatal so you… -
Posted a reply to How to change the standard colour palette?, on the site WordPress.org Forums:
Fatal error: Uncaught Error: Class 'Vipps' not found in /home1/tangodas/elmate.no/wp-content/themes/xstore-child/functions.php:11 Stack trace: #0 /home1/tangodas/elmate.no/wp-settings.php(611): include()… -
Posted a reply to Unable to edit product data because it is to the right of page and cut off, on the site WordPress.org Forums:
Navigate to the "Plugins" section.Deactivate all plugins, except for WooCommerce.Perform a comprehensive test of the… -
Posted a reply to 404 error in Woocommerce order received page, on the site WordPress.org Forums:
function flush_rules(){ flush_rewrite_rules(); } add_action('init','flush_rules'); Solution1: Please add this function in your active theme's functions.phpmake… -
Posted a reply to Making Checkout Page Email Optional Not Working, on the site WordPress.org Forums:
The guest billing email is required by WooCommerce email notifications system, so you can't really… -
Posted a reply to 404 error in Woocommerce order received page, on the site WordPress.org Forums:
Hi check if order received endpoints are properly set in woocommerce settings > checkout. Try… -
Posted a reply to Hide out of stock items from the shop page, on the site WordPress.org Forums:
Add the following code to your theme's functions.php file or in a custom plugin: //… -
Posted a reply to How to make the product single photos vertical?, on the site WordPress.org Forums:
Hi body.single-product .woocommerce div.product div.images .flex-control-thumbs li { width: 100% !important; } Please add this… -
Posted a reply to Product Items not being found, on the site WordPress.org Forums:
Hitry this way $order = wc_get_order($order_id); // Check if the order exists if (!$order) {… -
Posted a reply to Can’t add product categories to the menu, on the site WordPress.org Forums:
HiGo to Appearance > Menus in your WordPress dashboard and press the Screen Options drop-down(top right of the screen).… -
Posted a reply to Woocommerce cart layout, on the site WordPress.org Forums:
Hiissues from the max-width from your theme style.cssPlease check below screenshot.Before:https://prnt.sc/Voq8Dnil59oEAfter:https://prnt.sc/oUUaohpY4zIUAfter this still you need… -
Posted a reply to Pages not indexing. Google told me to ask my web developer but that’s me, on the site WordPress.org Forums:
Some of the most common causes of indexing issues are duplicate content without a proper canonical… -
Posted a reply to Return To Shop Button goes to wrong URL, on the site WordPress.org Forums:
No need to make child theme you can achive this using Site-Specific WordPress Plugin For… -
Posted a reply to Return To Shop Button goes to wrong URL, on the site WordPress.org Forums:
I understand your concern. If you are experiencing unexpected behavior with the woocommerce_return_to_shop_redirect filter, it's… -
Posted a reply to Where is WooCommerce order shipping methods stored, on the site WordPress.org Forums:
Hi The answer is simply the wp_options table. If your "Free shipping" Shipping method ID… -
Posted a reply to Can’t change address and messaging issues, on the site WordPress.org Forums:
Hi @catwingzFor second cart message issues, you can simply enable/disable debug mode.WooCommerce->Shipping->Shipping Options and check/uncheck Enable Debug… -
Posted a reply to Backend warning – is possible to close it?, on the site WordPress.org Forums:
Hi Update all your plugins and themes Switch to a default WordPress theme, such as… -
Posted a reply to Sorry, you have reached your download limit for this file Go to shop (bug), on the site WordPress.org Forums:
Hi Hi @Patrick 1. Could you please check if the Download Limit field is blank as… -
Posted a reply to How can we edit or add fields on the checkout page?, on the site WordPress.org Forums:
HiTry this: https://wordpress.org/plugins/woo-checkout-field-editor-pro/ThanksAhir -
Posted a reply to Oops, that page can’t be found, on the site WordPress.org Forums:
I have checked the issues you mentioned, and everything appears to be fine on my… -
Posted a reply to Cart drawer should be remove totally, on the site WordPress.org Forums:
Hello @bsfherman As i said this is not working for me and i want to… -
Posted a reply to Products are not displayed, on the site WordPress.org Forums:
Hello! Could you please disable the "blocks-for-shopengine" plugin and check if the product is visible… -
Posted a reply to Send eBook by email, on the site WordPress.org Forums:
Configure Digital Product Settings: In your WordPress admin dashboard, navigate to WooCommerce > Settings. Click… -
Posted a reply to Disable woocommerce search completly, on the site WordPress.org Forums:
To remove the WooCommerce search functionality completely, you can use a small custom code snippet.… -
Posted a reply to WooCommerce, on the site WordPress.org Forums:
HiWooCommerce will provide you with a fully functional ecommerce platform for free, you will still… -
Posted a reply to wc_get_orders for specific product types, on the site WordPress.org Forums:
/** * Get All orders IDs for a given product ID. * * @param integer… -
Posted a reply to wc_get_orders for specific product types, on the site WordPress.org Forums:
Yes, you can use wc_get_orders and filter by product IDs in the order items using… -
Posted a reply to WooCommerce, on the site WordPress.org Forums:
WooCommerce itself is free to use, as it is an open-source plugin. -
Posted a reply to How to show title on ‘upsells’, on the site WordPress.org Forums:
There is now a filter for that. Name is "woocommerce_product_related_products_heading" So you can add a… -
Posted a reply to How to put content on footer in WooCommerce product category page?, on the site WordPress.org Forums:
To add content to the footer of WooCommerce product category pages using hooks, you can… -
Posted a reply to How to make certain product to be free shipping?, on the site WordPress.org Forums:
HiPlease check this: https://www.businessbloomer.com/assign-free-shipping-single-woocommerce-product/ThanksAhir -
Posted a reply to Created Simple product programatically, on the site WordPress.org Forums:
Hitry this way $item = array( 'Name' => 'Product A', 'Description' => 'This is my… -
Posted a reply to Limit number of subcategories shown, on the site WordPress.org Forums:
Hi To limit the display of subcategories in WooCommerce and improve the loading speed of… -
Posted a reply to How to show title on ‘upsells’, on the site WordPress.org Forums:
HiLook like Upsell title is blank and that'sy its showing 3 dots but anyway you… -
Posted a reply to [WooCommerce] How to show title on ‘upsells’, on the site WordPress.org Forums:
HiTo ensure that the title "Tape Error EP" etc is displayed correctly, you need to… -
Posted a reply to [WooCommerce] How do I create a variable product in WooCommerce programmatically, on the site WordPress.org Forums:
You need to provide some information as: the array of attributes/valuesthe Sku, prices and stock….This… -
Posted a reply to How to remove main product image from gallery when there are no gallery images, on the site WordPress.org Forums:
Thank you for reaching out to us. I believe I have provided a solution to… -
Posted a reply to slug is not sanitized when creating a product programatically, on the site WordPress.org Forums:
By default, WooCommerce automatically generates the slug based on the product name (post_title) when a… -
Posted a reply to adding continue shopping button, on the site WordPress.org Forums:
Hi // Add continue shopping button to Single product page, Cart page and Checkout page.… -
Posted a reply to PHP Fatal error: Uncaught TypeError: WC_AJAX::order_refresh_lock(), on the site WordPress.org Forums:
The error you encountered, Uncaught TypeError: WC_AJAX::order_refresh_lock(), suggests that there is an issue with the… -
Posted a reply to How to disable buy button on specific product pages?, on the site WordPress.org Forums:
Hi add_filter('woocommerce_is_purchasable', 'ahirwp_disable_buy_button', 10, 2); function ahirwp_disable_buy_button($purchasable, $product) { $disabled_product_ids = array(1, 2, 3); //… -
Posted a reply to Issue with Checkout Page Refreshing, on the site WordPress.org Forums:
Hiissues with specific payment gateway ? as i have checked and done test order with… -
Posted a reply to How to remove main product image from gallery when there are no gallery images, on the site WordPress.org Forums:
Hi add_filter('woocommerce_single_product_image_thumbnail_html', 'ahirwp_remove_featured_image', 10, 2); function ahirwp_remove_featured_image($html, $attachment_id ) { global $post, $product; $featured_image =…
Developer
-
LR Responsive Slide Menu
Active Installs: Less than 10