Contract template rental loop variable for item WordPress page URL?
Looking for a rental item page URL variable that works in contract templates
I’m trying to add a “View Details” link next to each line item in my contract template that links to the item’s WordPress product page. The goal is for clients to click an item in their contract and view the full catalog listing.
Here’s what I’ve tested inside the rental loop in the contract template:
•*rental_wp_url* — renders a URL, but it outputs the contract signing page URL (contractme.php?...), not the item’s product page
•*rentalname_linked* — outputs blank
What I need: a rental loop variable that outputs the inventory item’s WordPress product page URL (e.g. {{domain}}/rentals/{{item-name}}/) and is accessible inside contract templates.
Is there a variable I’m missing, or is the item URL simply not exposed in contract template loops? Open to any workarounds.
Thank you.
The same question
Replies have been locked on this page!