dougaitken
(@dougaitken)
Automattic Happiness Engineer
Hi there @bstone81
Sure, you can link from one page to a specific product using attribute values for a variable product.
The format would be link this:
[site-address]product/[product-name]/?attribute_pa_[attribute-name]=[attribute value]
The short description area is the same for all variations, but you can add an additional description in each variation which will appear below the selector.
As an aside, is the Fit Guide something you could look at building into your WooCommerce site? Maybe using Variable Products, or something more complex?
If I can help further, please reply here, but if this has helped, be sure to mark this thread as Resolved.
Thanks,
Thank you for responding dougaitken.
So for clarification, the format string you listed above, would be part of the referring URL from our Fit Guide? would it look something like this:
www.ourdomain.com/[site-address]product/[product-name]/?attribute_pa_[attribute-name]=[attribute value]
And what parameters would I change in this string? [product-name] with our actual product name, etc.?
Thanks
Brad
-
This reply was modified 8 years, 5 months ago by
bstone81.
dougaitken
(@dougaitken)
Automattic Happiness Engineer
Hi again @bstone81
> So for clarification, the format string you listed above, would be part of the referring URL from our Fit Guide? would it look something like this:
Sorry no that was an example, you would need to have them hard codeded as such from different examples.
I also gave a slightly incorrect format.
> And what parameters would I change in this string? [product-name] with our actual product name, etc.?
Right so an example of
www.ourdomain.com/[site-address]product/[product-name]/?attribute_pa_[attribute-name]=[attribute value]
Would be like:
www.ourdomain.com/product/tshirt/?attribute_pa_color=blue
this would mean it is a product with the post slug of tshirt and a attribute of color where the value is blue
Does that make sense?
We haven’t heard back from you in a while, so I’m going to mark this as resolved. If you have any further questions, you can start a new thread.