Change product url in woocommerce order detail - wordpress

Need help with shortcode or snippet. I want to change url of products in order detail in cms, now url redirects to edit product but I want do redirect to webshop product, any idea how to change url?
image

I'm afraid you there is no filter to change it ;)
https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-item.php
line 13

Related

Custom taxonomy rewrite rule

Hello i want to change the default WordPress categories url i tried but i don't know how to do it
can you guys please help me with that..
This is my admin URL of default post category here post type=post
/wp-admin/edit-tags.php?taxonomy=category
example of my categories list
cloths, shirt, goggles etc...
suppose current my fronted link for taxonomy url is like
example.com/shirt
example.com/cloths
example.com/goggles
but i want to modify it... like below
example.com/ethic/shirt
example.com/ethic/cloths
example.com/ethic/goggles
And post Url must be followed same as below
example.com/res-full-shirt
example.com/blackfull-goggles
I think, these permalink settings will do the job.

Display products in a page with a product attribute filter

On WooCommerce, I want to create a custom page/article that displays all the products that have an attribute with a specific value.
I need a custom page to index it with Yoast SEO and to insert an header on the page, before the product list.
Is that possible?
thanks for the reply!
I've found a solution that works, by creating an archive page for the attribute. The reply was also useful, thanks

Remove "product" slug from Woocommerce Link

I have one issue that cant resolve myself, so need your help. I have Woocommerce store where i sell my personal things. Somehow i removed "product-category" slug from URL, and now i want to do the same for product too.
For example for category i have:
example.net/digital-products/sound-kits/808-kits/
and want to do the same for product, and remove "product" slug from URL
Currently is like this:
http://example.net/digital-products/product/808-touchdown-v1/
and want to be like this:
http://example.net/digital-products/sound-kits/808-kits/808-touchdown-v1
Is possible this?
Go to the Permalink Settings page, and under Product Permalinks (at the bottom of the page), enter /sound-kits/ in the Custom base field. Then just save your changes.

In wordpress , how can I make page be related with post-type?

First of all, I'm not good at english. Sorry :( .
Hello! I'm developing woocommerce theme. And I meet problem. Please see this screenshot !.
When I Click The Return shop Btn -> browser request this query below!.
The query changed!!! from [~~?page_id=693] to [~~?post_type=product]
How This Can Happened??
And this is the shop page(id = 693) !...I'm so surprised! Please help me.
In your woocommerce settings you have assigned shop page(693). That's why that page 693 is behaving like a shop page, and it's permalink is [~~?post_type=product].
If you want to show all of a certain post type in your own page (template), copy archive.php and rename it as - 'archive-{your_post_type}.php'. This will load your post types only. Now change the template as per your need.

how to changge /shop/ URL to /products/ URL

Good day!
In Woocommerce the default URL for listing products is www.site.com/shop/ I would like to change it to www.site.com/products/ as we won't be necessarily selling but would just be showcasing products.
We would like to change /shop/ to /products/. I've tried to change the slug in the Product page but some error do occur.
Please help, Thank you.
Visit "General" -> "Permalinks" section in your admin panel, it will reset permalink structure and error message should disapperar.
Yes it is possible to change the URL from shop to products. you need to go to the pages their you go to the page shop open that page. their you see the option of the edit URL from their you can change the URL of your site from shop to products.
If you simply want to rename shop page to product
Go to Pages> Edit shop page > change permalink to product > Update
You might even rename title to product list or something

Resources