Mohammad Etemaddar
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] post and product meta overrided by site meta in whatsappThanks for checking with accuracy.
It should be shown exactly as you posted.
But in my WhatsApp it shows differently. This image shows for all pages in website.
The logo is logo of website. Title is the title of home page: ????? – ??????? ???????? ????? ???? ?????And description is description of Home page too.
The description in Whatsapp and image: ???? ?????? ????? ???? ???? ?? ?????? ???? ? ????? ?????? ?????? ?? ??? ?? ????? ????????. ????? ?? ????????? ???? ????. ????? ???? ?? ?????Forum: Plugins
In reply to: [WooCommerce] Order Form update buttonnot work. How to debug.Also when I added the jQuery script to listen to save button, did not work for the troubled order.
But the strange situation is that whenever I’m using element inspector, When I try to select the button by inspector pointer, it submits!!Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Allow float amountTested v2.0.13-rc.2 and worked.
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Allow float amountSure Sébastien,
I think it works. Because I’ve added this filter to functions.php.
I’ll tell when I tested.Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Allow float amountYes, It worked Sébastien.
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Allow float amountThanks a lot.
I think tax calculation is ok. Because the calculation is from woocommerce core. And is officially allowed in the docs.I try to install and test.
Thank you.- This reply was modified 4 years, 11 months ago by Mohammad Etemaddar.
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Allow float amountYes Sébastien. It’s true. It needs also a test for update too. I think it has different route in code.
Of course we do not calculate tax. But it seems ok. I just used 0.5 for amount change.
- This reply was modified 4 years, 11 months ago by Mohammad Etemaddar.
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Allow float amountOh sure. Thank you.
I forked it. I’ll do the changes and push.- This reply was modified 4 years, 12 months ago by Mohammad Etemaddar.
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Allow float amountThanks a lot. Is this included in version 2.0.11?
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Allow float amountWe can do it in this way. Of course my code checks if the product measurement is not quantized then does the following.
// Add step value to the quantity field (default = 1) add_filter('woocommerce_quantity_input_step', 'nsk_allow_decimal'); function nsk_allow_decimal($val) { return 0.5; } add_filter( 'woocommerce_quantity_input_args', 'jk_woocommerce_quantity_input_args', 10, 2 ); // Simple products function jk_woocommerce_quantity_input_args( $args, $product ) { $args['step'] = 0.5; return $args; } // Removes the WooCommerce filter, that is validating the quantity to be an int remove_filter('woocommerce_stock_amount', 'intval'); // Add a filter, that validates the quantity to be a float add_filter('woocommerce_stock_amount', 'floatval');
Forum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Minus from CardIt’s just about update using product_id rather than item_key.
Now, I have added the item_key as data in quantity. and whenever I plus a new item, I add the item_key to quantity data, in order to use doing minus.But if we have an api route to minus item with product_key, it would reduce some code.
Yes, I didn’t recalculate.
Thank youForum: Plugins
In reply to: [Headless WooCommerce Made Easy with CoCart] Minus from CardThese topics are different.
The other is about changing the total.
But this is about new feature.
New feature like add product to cart (+1).
But this for minus product from cart (-1).Forum: Themes and Templates
In reply to: [Tempera] margin-right of navigation menu in rtlMaybe you want to send menu to the right.
Then, there is an option in Tempera settings for that.
The css which I posted, defined to bind the menu to the right side.Forum: Themes and Templates
In reply to: [Tempera] margin-right of navigation menu in rtlWould you mind give us your site URL?