Get the value of the variation_ID
-
Hi, this plugin is gold, really.
I’ve managed to edit some things already but I can’t manage to get the value of a variation_ID.
Lets say i’m selling a Blue Shirt, I do arrive to get the variation_ID of the blue (which is 632 for exemple) :
if($pdt_key == ‘name’){
$value = $product->get_title().’ – ‘.$product->variation_id;}Here, I get “Shirt 632” , but I would like to get “Shirt – Blue”.
Do you have a way to do that? thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Get the value of the variation_ID’ is closed to new replies.