Title: catchop's Replies | WordPress.org

---

# catchop

  [  ](https://wordpress.org/support/users/catchopcd/)

 *   [Profile](https://wordpress.org/support/users/catchopcd/)
 *   [Topics Started](https://wordpress.org/support/users/catchopcd/topics/)
 *   [Replies Created](https://wordpress.org/support/users/catchopcd/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/catchopcd/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/catchopcd/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/catchopcd/engagements/)
 *   [Favorites](https://wordpress.org/support/users/catchopcd/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/catchopcd/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/catchopcd/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Orders Tracking for WooCommerce] Order export question](https://wordpress.org/support/topic/order-export-question/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/order-export-question/#post-18726002)
 * Thank you. It works.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[301 Redirects - Redirect Manager] Redirects add extra step before product permalink.](https://wordpress.org/support/topic/redirects-add-extra-step-before-product-permalink/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/redirects-add-extra-step-before-product-permalink/#post-18603748)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Variable Product Issue](https://wordpress.org/support/topic/variable-product-issue-10/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/variable-product-issue-10/#post-18602569)
 * Thank 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.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[PDF Builder for WooCommerce. Create invoices,packing slips and more] Had one issue with adding custom filed, but fixed by the developer](https://wordpress.org/support/topic/paid-version-doesnt-work-as-its-supposed-to-work/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/paid-version-doesnt-work-as-its-supposed-to-work/#post-18527163)
 * I already tried that because you kept ignoring my questions.
 * [https://wordpress.org/support/topic/adding-new-columns/](https://wordpress.org/support/topic/adding-new-columns/)
 * I guess I purhcased the plugin without creating an account. I don’t receive any
   password reset link.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Filter for WooCommerce by WBW] Speed issue when the plugin is activated](https://wordpress.org/support/topic/speed-issue-when-the-plugin-is-activated/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/speed-issue-when-the-plugin-is-activated/#post-18525376)
 * 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Customer Reviews for WooCommerce] Product Reviews: Missing or invalid product_id](https://wordpress.org/support/topic/product-reviews-missing-or-invalid-product_id/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/product-reviews-missing-or-invalid-product_id/#post-18520354)
 * 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Customer Reviews for WooCommerce] Product Reviews: Missing or invalid product_id](https://wordpress.org/support/topic/product-reviews-missing-or-invalid-product_id/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/product-reviews-missing-or-invalid-product_id/#post-18516278)
 * 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Builder for WooCommerce. Create invoices,packing slips and more] Adding new columns](https://wordpress.org/support/topic/adding-new-columns/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/adding-new-columns/#post-18508260)
 * Any update yet?
 * [https://prnt.sc/5ZaPcUrHpsc2](https://prnt.sc/5ZaPcUrHpsc2)
 * 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Builder for WooCommerce. Create invoices,packing slips and more] Adding new columns](https://wordpress.org/support/topic/adding-new-columns/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/adding-new-columns/#post-18502501)
 * 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.
 * [https://prnt.sc/n3IlBWQGeLAR](https://prnt.sc/n3IlBWQGeLAR)
 * [https://prnt.sc/cH7HAJB_gz-a](https://prnt.sc/cH7HAJB_gz-a)
 * [https://prnt.sc/8GiyEXCaV76R](https://prnt.sc/8GiyEXCaV76R)
 * 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.
 * [https://prnt.sc/imzwcefdo4zn](https://prnt.sc/imzwcefdo4zn)
 * Is there any way of fixing this issue?
 * Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] ULRs are running in a strage way](https://wordpress.org/support/topic/ulrs-are-running-in-a-strage-way/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/ulrs-are-running-in-a-strage-way/#post-18494045)
 * Hello. 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.
 *     ```wp-block-code
       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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] ULRs are running in a strage way](https://wordpress.org/support/topic/ulrs-are-running-in-a-strage-way/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/ulrs-are-running-in-a-strage-way/#post-18492792)
 * Hello, 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/](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/](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/](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/](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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] ULRs are running in a strage way](https://wordpress.org/support/topic/ulrs-are-running-in-a-strage-way/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/ulrs-are-running-in-a-strage-way/#post-18492658)
 * Adding 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] ULRs are running in a strage way](https://wordpress.org/support/topic/ulrs-are-running-in-a-strage-way/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/ulrs-are-running-in-a-strage-way/#post-18492614)
 * Hello. 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Customer Reviews for WooCommerce] Review Form edit question](https://wordpress.org/support/topic/review-form-edit-question/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/review-form-edit-question/#post-18459204)
 * Ok, found it myself.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More] Currency conversion, wrong discount amount.](https://wordpress.org/support/topic/currency-conversion-wrong-discount-amount/)
 *  Thread Starter [catchop](https://wordpress.org/support/users/catchopcd/)
 * (@catchopcd)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/currency-conversion-wrong-discount-amount/#post-18453929)
 * 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, 3 months ago by [catchop](https://wordpress.org/support/users/catchopcd/).

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/catchopcd/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/catchopcd/replies/page/2/?output_format=md)