Hi ! I’m currently using Oxygen builder that desactivate templates from wordpress. Everything works well except that I can’t manage to display the vendor’s description on the vendor’s archive page.
I tried several codes found on the forum :
This one works well :
<?php
$vendor = get_wcmp_vendor(63);
echo $vendordescription = $vendor->description;
?>
But of cours I would like to replace the ID 63 by “$vendor_id” that returns nothing.
The way I have to do it in Oxygen is to create a function in code snippet that will return the description in a php variable.
Would you have any idea how I could manage that ?
Thanks,
Vincent