Product attributes and variations in Woocommerce Product Bundles - wordpress

On our site we are using WooCommerce with Woocommerce product bundle plugin. I have a bit of a special case I'm afraid.
On our site we are selling lambs meat. There are several products of course and a lots of them are sold as a stand alone product and in a product bundle as well. There is one special bundle, we call it "for singles". A collection of the same products are added to the bundle, we just added smaller portions. For instance a portion of 250 grams instead of 500 grams.
The standalone product is 500 grams. The 250 grams version exists only in the "Package for singles". I do not want the 250 grams version visible in the shop or search results to be sold separately. At first we added two distinct products: a 250 grams version and a 500 grams version.
We added the 500 grams version to a couple of other bundles and we show it on the product pages as a stand alone product.
Working on SEO I learned that it is not done to add pages, posts or products with the same description as it will lead to a "Duplicate COntent" vote on Google and harm our rankings.
So what I want to achieve is this:
the 500 grams version shown as a single, stand alone product
the 500 grams version in a couple of bundles
the 250 grams version in only the "singles" bundle.
The single product page for the 500 grams version must be displayed as a "normal" single product without variations. So, no attributes and no pull down menu to select the options.
A checkbox whether or not the variations has to be displayed on the single product page should be great (I think).
Working with the settings for Attributes and Variations for more than a day now I realized I need some help.
I've read up on a bunch of posts and tutorials but no avail.
Please advice
PS. I can't give you credentials for the live site because I don't want to interrupt anyting. But you can view the pages at https://lokaallamsvlees.nl. The site I am working for development purposes is on my local machine.

I have chosen to keep both product variations and set the a canonical url at the small variation of the product. This way I avoid the duplicate content issue in Google and that was what it was all about.

Related

Product Summary in Woocommerce

I am setting up a woocommerce site for a grocery delivery service and need a way of getting a summary of what has been ordered by customers each day. It needs to be a summary by product (i.e 5 x Bread, 3 x Milk etc) and preferably by supplier.
Ive looked for plugins for woo but cant seem to find anything suitable.

Woocommerce - Is there a way to show/ hide shipping methods based on product brand and stock count?

Looking for help, I have an online shop, and I would like to adjust shipping methods depending on the product the customer chooses. The shop is located in Portugal.
Basically, I would like to create a set of rules:
Products from brands A and B can be shipped everywhere, from brand C only to Portugal.
Product rules: If the product's stock count is more than 0 - local pick-up is available if it's "in stock," there is another method with local pick-up in 5-6 days.
An additional rule for Brand C - If the product's stock count is more than 0 - local pick-up is available, and shipping is available everywhere if it's "in stock," there is another method with local pick-up in 5-6 days and shipping available in a long time.
I'm using flexible shipping ( basic version, can upgrade if needed), and Perfect Brands for WooCommerce.
Do you guys think it can be done by PHP? Or should I mix some kind of coding with other plugins?

Woocommerce USP ( Unique Selling Propositions ) alternative

there's this great plugin that you can put selling points to all products on the store but the problem is that you can't specify categories or products to show it it just shows the same ones everywhere. I tried finding an alternative - even a paid version and i can't. Does anyone know of alternatives or can you tell me how to modify it to specify categories at least?
https://wordpress.org/plugins/woo-usp/
It's not working as I would like to, and as i have seen online many people have the same issue, you can't specify products or categories that you can post the information on

How to get bestselling and favorites products in rest API in woocommerce?

I want to get bestselling and favorites products from woocommerce site with rest API .
I read this site but not found any thing about that.
Does it exist any way to get that ?
For People Who are Still Stumbling upon this Question
As per WC v3 API. You can now pull Most Popular products through the API (which is the best selling product list as per my understanding);
GET /wp-json/wc/v3/products?orderby=popularity&order=desc
This should get you the most popular products in descending order by the number of sales. This is not currently documented (as of Feb 2, 2021).
Total list of possible orderby params are: date, id, include, title, slug, modified, menu_order, price, popularity, rating
Another part of the question asks for Favorite product API, which woo commerce doesn't have.
I can see that you can access bestsellers through reports. See here. As for favourites, I think this is done using third party plugins or custom code so I'm not sure how you are going to access this. But if I was to hazard a guess I would probably assume it would be under customer meta

Woocommerce SKU or id?

I've been handed over a woocommerce website and a majority of the products are missing a sku number.
What would be the best way to go about updating products without a sku number?
Also keeping the skus unique?
Best practice for SKU's is to use small, (mostly) meaningless codes with a uniform fixed length and pattern.
So suppose you sell less than 1000 products, take a code of 5 characters. And assign the codes automatically using a script:
10001 first product
10002 second product
etc
How these codes should be generated depends on you (business) domain model / woocommerce configuration (using variants yes/no). For inspiration see this project: https://github.com/tamarazuk/woocommerce-product-sku-generator

Resources