catchop
Forum Replies Created
-
Forum: Plugins
In reply to: [Orders Tracking for WooCommerce] Order export questionThank you. It works.
How does the second one get added in?
– This is why I contacted you. That’s not what I added. I just created direct redirect from 1 to 3, but all redirects to product pages have this addtional 301.I believe ‘3017’ is the ID of this product.
I switched to another plugin, and no longer see the problem with that.
I will just consider myself unlucky.
Thank you.
Forum: Plugins
In reply to: [WooCommerce] Variable Product IssueThank you for your detailed explanation, Frank.
I’ll contact the theme developer and provide an update here later.I also tested this after disabling the cache plugin but still saw the same, so that shouldn’t be the cause.
I already tried that because you kept ignoring my questions.
https://ww.wp.xz.cn/support/topic/adding-new-columns/
I guess I purhcased the plugin without creating an account. I don’t receive any password reset link.
Unfortunately, I couldn’t handle this issue and didn’t receive any reply from the plugin developer.
I also tried many other filter plugins, but found the same issue with all of them.
Therefore, I switched back to Woocommerce’s built-in cagetory filter.
The built-in filter isn’t that convenient to use, but free from this speed issue at least.
I believe using this plugin will ruin my website’s SEO.Good luck to you.
Yes, I actually did that instead after noticing ‘Global Unique ID’ means ‘GTIN, UPC, EAN, or ISBN’, and now all my 1500 reviews show up on GMC.
Thank you.
Hello. Thank you for writing back to me.
As written in my previous message, all my products already have GTIN.
But I entered GTINs into ‘Inventory’ – ‘GTIN, UPC, EAN, or ISBN’ field, but looks like this has to be entered into ‘General’ – ‘GTIN’ filed instead.
Because I’m new to Woocommerce, I didn’t know Woocommerce had multiple fields for GTIN.
Thank you.
Any update yet?
The 3 SEVENTEEN items have GTIN 8800296365867, but as you can see it doesn’t show up in the invoice.
If I give each version 8800296365867-1, 8800296365867-2, 8800296365867-3, these GTINs show up in the invoice, but I can’t do this as their correct GTIN is 8800296365867, not -1,-2,-3.
Hello. I purchased the full version and could add GTIN to the invoice by creating custom field option, but encountered one problem.
This custom fileds option works just fine for simple products.
But when exporting products with variations, their GTINs don’t show up in the invoice.
Woocommerce don’t allow to enter the same GTIN more than once.
Therefore, when entering 12345 as main inventory GTIN for example, this 12345 is assigned to all variations too, and this number 12345 can’t be entered for the product’s variations as it was already used for main invetory’s GTIN.
I’m using another plugin that exports orders, and unlike this invoice plugin, it exports inventory’s main GTIN, and I believe this is how this plugin is supposed to work.
Is there any way of fixing this issue?
Thank you.
Forum: Plugins
In reply to: [WooCommerce] ULRs are running in a strage wayHello. Moses.
I forwarded your code to the theme developer and he revised the code a little bit and made it work for both single product and category URLs.
I will upload it for other Woocommerce users who might encounter the same issue.
add_action('template_redirect', function () {
if (is_product_category()) {
$term = get_queried_object();
$canonical = parse_url(get_term_link($term, 'product_cat'), PHP_URL_PATH);
$current = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
// Allow pagination by removing '/page/X/' from current path
$current_cleaned = preg_replace('#/page/\d+/?$#', '/', $current);
if (trailingslashit($canonical) !== trailingslashit($current_cleaned)) {
global $wp_query;
$wp_query->set_404();
status_header(404);
nocache_headers();
include get_query_template('404');
exit;
}
}
});“That said, I still recommend reaching out to the theme’s support team to help fix the issue properly.”
– Understood. Hopefully the developer will revise this when releasing the next version.
Thank you.
Forum: Plugins
In reply to: [WooCommerce] ULRs are running in a strage wayHello, Moses. Thank you for your helpful answer.
The code works perfect for single product URLs without disabling pagination.
When adding one non-existent slug to single product page URLs, it’s redirected to canonical URLs.
https://www.catchopcd.net/product/qwer1234/the-rose-wrld-jewel-version-2/
is redirected to
https://www.catchopcd.net/product/the-rose-wrld-jewel-version-2/
And when adding two or more non-existent slugs to URLs, 404 shows up.
https://www.catchopcd.net/product/this/is/invalid/the-rose-wrld-jewel-version-2/
404 Error
However, this doesn’t impact category URLs.
https://www.catchopcd.net/product-category/this/is/invalid/the-rose/
If there is no way of fixing category URLs as well, I will just use it this way.
Having 301 / 404 only for single product URLs is still better than nothing.
Thank you.
Forum: Plugins
In reply to: [WooCommerce] ULRs are running in a strage wayAdding the code fixed the URL problem, but causes another problem.
When the code is enabled, category pages’ pagination stops working. Therefore I can’t use this method.
Now I’m looking for a way of adding 404 to the code instead of 301 redirects.
Does anybody know how to do this?
Forum: Plugins
In reply to: [WooCommerce] ULRs are running in a strage wayHello. Thank you for your answer.
The SEO company I’m hiring reported this to me after the migration, saying this isn’t good for SEO.
Still I’m not sure if this was a theme related issue, but I contacted the theme developer after noticing the same issue on their website and fixed the issue by adding this code to the code snippet plugin.
add_action(‘template_redirect’, function () {
if (is_product_category()) {
$term = get_queried_object();
$canonical = get_term_link($term, ‘product_cat’);
$current = home_url(add_query_arg([], $_SERVER[‘REQUEST_URI’]));
if (trailingslashit($canonical) !== trailingslashit($current)) {
wp_redirect($canonical, 301);
exit;
}
}
});Now all non-existent URLs are redirected to canonical URLs.
Thank you.
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Review Form edit questionOk, found it myself.
Hello. I’ve found another plugin that doesn’t cause the wrong discount amount issue with Curcy, so will use this instead.
You don’t need to reply to my previous messages.
Thank you.
- This reply was modified 1 year ago by catchop.