ozanyilmaz2017
Forum Replies Created
-
Forum: Plugins
In reply to: [Variation Swatches for WooCommerce] Generating Unsetted Image Sizes ?I found a way to stop generating these thumbnails by adding
unset( $sizes['variation_swatches_image_size']); unset( $sizes['variation_swatches_tooltip_size']);
to my function above.
Can you tell me will this cause this plugin to broke ? Or will it continue to function properly ?
In any case, I believe that this plugin should not add new sizes.
yes, maybe some time needed to pass, thank you.
Hi,
I guess you saw the below link from the previous posts and followed up.https://docs.xootix.com/side-cart-for-woocommerce/#translation
I also suffered same issue and above link didn’t help me because it is missing some information. After saving a translation with poEdit, it only creates a .po file. And copying it under /wp-content/languages doesn’t help. You need to copy .mo file as well. I found it by chance, and it works fine for me at the moment. I was able to translate SubTotal
Forum: Plugins
In reply to: [WooCommerce] RewriteRule on Shop Page for Search KeywordYes, Thank you.
Forum: Plugins
In reply to: [WooCommerce] using URL parameters to filter products by category and tag@megunticook, @fullysupportedphil
I don’t understand how can a woocommerce support personal lacks knowledge to answer such a basic question. I mean am I missing something here ? This is just simple usage of query strings am I wrong?
Instead of using &, can you try using ?. Also instead of product-tag, try using product_tag.
So instead of this:
https://mystore.com/product-category/prime&product-tag=select
Can you try this:
https://mystore.com/product-category/prime?product_tag=select
Forum: Plugins
In reply to: [Max Mega Menu] OTS parsing error: invalid version tagI realized two things.
The warning occurs when you are logged as admin.
Warning doesn’t occur when I activate “Fast Velocity Minify” plugin.At the moment you can not see the warnings in my life site since you are not admin.
they are selected as yes. The products are created by a plugin (by me), maybe there is some missing meta data behind, which is the reason.
Hi,
here the link:https://www.staging1.tisort.ist/shop/?swoof=1&stock=instock&product_cat=tasarim-kadin-tisort
username: canni_staging
password: Abcdabcd1checked the option you mentioned, and it is as you showed it.
Forum: Plugins
In reply to: [Variation Swatches for WooCommerce] Ajax variation threshold LimitHi Ahmed,
Your plugin says:
It’s recommended to keep this number between 30 – 40.
But allows me to create maximum of 80. So I wonder if I should reduce this to 30-40 ?
I was not using stock managment before. (Because I didn’t need, as my products don’t stock out, but my raw material which I use to produce my products may stock out)
I enabled stocks from woocommerce panel, and selected “hide stocks” option. This way when I update stocks of products, I hide them with your plugin.
However updating the stocks for massive variations is causing gateway timeout problems, because my query to update database has to work for all products, and all variations.
Instead of this, it would be nice to turn on/off variations for specific category. (Example: Hoodies, Red, XXL turn off for all products) At the moment I will look for ways to improve my sql query which updates stocks.
Do you have any other suggestion?
Forum: Plugins
In reply to: [WooCommerce] Possible problems for more than 50 variations ?Sorry for typo, I meant “I am NOT quite sure how max_input_vars…” in above post. Why there is no edit option here. Whatever.
Forum: Plugins
In reply to: [WooCommerce] Possible problems for more than 50 variations ?Hi Hristo, thanks for the reply, but I am quite sure how max_input_vars is related with my question.
Here I am asking that, there is a default limit in woomcommerce, which doesn’t let users to create a products with more than 50 variations. (ex: red xs t-shirt is 1 variations, blue xs t-shirt is another variations, and maximum number I can have like this is 50).
I wonder the reason behind this limit, because at the moment I am creating variations using a plugin, and sometimes I am creating products with more than 50 variations. This is why I am looking for the reason of this limit woocommerce set, and if it will be problem for me if I don’t take precautions.
Hi Hannah,
The customer adds some products to cart, and proceeds the checkout screen. In the checekout page, he chooses kredit card as payment method and iyzico payment plugin shows a panel to user to enter card details. Since it’s mandatory to use 3D secure for debit cards, the user is redirected to another page to enter an SMS message which he/she will receive to mobile for payment confirmation. After the sms password entered, the user is redirected back and faces with the error.
The link you shared is a link to my post on this page.
As I mentioned on this error page there are no notices which indicates the user, what the error is really about. So I added a hook to show notices on this page, and also on this hook, I send myself a mail.
I didn’t ask user to re-test because the notice that will be shown to user may not resolve the issue, and since that person is a customer, I don’t want to disturb him by asking test tasks, and re-tries. He already tried a lot to pay.
So if he will come back to page, at least this time, system will send a mail to me regarding the error message which occurs inside the checkout() method.
On the other hand, I believe that the hook that I added to my functions php to show a notice or error must not be externally added, but must be a core part of the wordpress build, because generic errors are not helping us. The problem here is that whatever error occurs on the checkout() function, the user is redirecated to cart-errors.php which displays a generic error.
Here is an example why this is bad coding. To replicate the issue user faced, I tried my own debit card. I tried to purchase some products, and woocommerce showed the same error message to me: “There are some issues with the items in your cart. Please go back to the cart page and resolve these issues before checking out.”
But in fact, the real error here was, I didn’t have enough cash on my card. So there were no issues with the items in my cart.
As a summary I gave up tring to figure out what’s causing the error, but I took precautions myself to prevent this kind of issue ever occur to me.
Thanks.
UPDATE: Putting aside my customers’s debit card problem (still not resolved since I can not debug), the checkout page should be showing an error notices when “cart-errors.php” is called, but this template is very generic and misleading. I think this is something needs to be fixed.
Below code part inside (
class-wc-shortcode-checkout.php
) triggers the page (cart-errors.php
) which displays “There are some issues with the items in your cart.” message.That code part doesn’t care about the error type as you can see below, if it finds a notice with the name ‘error’ it displays the message “There are some issues with the items in your cart.”
So I believe that any error notice during checkout will trigger the same message regardless of the error type. So you have seen it because of Gift Card plugin, and I believe I seen it because of 3D message. This is still a theory of me, and I am waiting for someone to confirm this or not. Help needed!
$checkout = WC()->checkout(); if ( empty( $_POST ) && wc_notice_count( 'error' ) > 0 ) { // WPCS: input var ok, CSRF ok. wc_get_template( 'checkout/cart-errors.php', array( 'checkout' => $checkout ) ); }