sameerpanda
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] How to get the variation title?Thank for the response @carmolim. Let me try with this hook. But I think I need little JS to achieve what I want. Please see the following.
Actually I want to add the variation attribute to my product title. Let me explain with an example.
Eg:
Product name: variable product
Variations: Variation 1 | Variation 2Then the product title will be
Variable Product Variation 1 (When I select variation 1) &
Variable Product Variation 2 (When I select variation 2)Can someone help me achieving this.
Forum: Plugins
In reply to: [WooCommerce] How to get the variation title?May I have the code you have written to achieve this please. I also want exactly the same for my woocommerce store.
Thanks in advance
The Better WordPress Minify plugin was minifying the JS, after disabling the plugin, it’s fixed.
- This reply was modified 9 years, 8 months ago by sameerpanda.
Forum: Fixing WordPress
In reply to: Anchor tag not working in sceen size below 768pxFixed it. Added
z-index:1000;in the div class “col_categories”Forum: Plugins
In reply to: [WooCommerce] Restrict client/Buyer to order from one vendor/author at a timeCould you please tell me how could I do it, I am not a PHP coder. Please.
Forum: Plugins
In reply to: [WooCommerce] Add to Cart button is not workingGot the problem, problem was causing by a plugin, will resolve it.
Forum: Plugins
In reply to: [WooCommerce] Add to Cart button is not workingP.S.
If I choose, delivery type “midnight/morning delivery”, then check the checkbox, then the add to cart hook is working, in any other option it’s not working.
If you get my point, please help.
Forum: Plugins
In reply to: [WooCommerce] Add to Cart button is not workingGot the following error in console
Failed to clear temp storage: It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources. SecurityError
I don’t know if this is something related to this or not, just shared.
Forum: Plugins
In reply to: [WooCommerce] Custom field not showing in order emailThanks for the reply Mike, could you please tell me if it works fine in single product page, then why not working in email?
Forum: Plugins
In reply to: [WooCommerce] Custom field not showing in order emailSorry this part is added extra,
add_action( 'woocommerce_email_order_meta_keys', 'pv_save_phone' );Okay thank you Mike.
Removed lines related to $woocommerce_loop, now it works fine.
Thanks for the support.
Here is the code after editing the content-product.php file:
<?php /** * The template for displaying product content within loops * * This template can be overridden by copying it to yourtheme/woocommerce/content-product.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer). * will need to copy the new files to your theme to maintain compatibility. We try to do this. * as little as possible, but it does happen. When this occurs the version of the template file will. * be bumped and the readme will list any important changes. * * @see http://docs.woothemes.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.5.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } global $product; // Ensure visibility if ( ! $product || ! $product->is_visible() ) { return; } ?> <li <?php post_class( $classes ); ?>> <div class="products-block"> <?php /** * woocommerce_before_shop_loop_item hook. * * @hooked woocommerce_template_loop_product_link_open - 10 */ //do_action( 'woocommerce_before_shop_loop_item' ); /** * woocommerce_before_shop_loop_item_title hook. * * @unhooked woocommerce_show_product_loop_sale_flash - 10 // See woocommerce.php line no: 19 * @unhooked woocommerce_template_loop_product_thumbnail // See woocommerce.php line no: 17 * @hooked estore_template_loop_product_thumbnail - 10 // See woocommerce.php line no: 19 */ do_action( 'woocommerce_before_shop_loop_item_title' ); ?> <div class="products-content-wrapper"> <?php /** * woocommerce_shop_loop_item_title hook. * * @hooked woocommerce_template_loop_product_title - 10 */ do_action( 'woocommerce_shop_loop_item_title' ); /** * woocommerce_after_shop_loop_item_title hook. * * @hooked woocommerce_template_loop_rating - 5 * @hooked woocommerce_template_loop_price - 10 */ do_action( 'woocommerce_after_shop_loop_item_title' ); /** * woocommerce_after_shop_loop_item hook. * * @unhooked woocommerce_template_loop_product_link_close - 5 * @unhooked woocommerce_template_loop_add_to_cart - 10 // See woocommerce.php line no: 25 * @hooked estore_template_loop_add_to_wishlist - 10 // See woocommerce.php line no: 27 */ do_action( 'woocommerce_after_shop_loop_item' ); ?> </div> </div> </li>Please tell me if anything else I have to remove.
I didn’t make any changes with
content-product_cat.phpbut it’s working fine.There is no update from eStore.
Okay let me check, and back to you.
Forum: Plugins
In reply to: [WooCommerce Show Attributes] Maximum atrributesCould you please tell how did you achieve that?