Hi @sotnas
I need add in permalink, some custom data. {permalink}?somedata=xxx
Instead of “?somedata=xxx”, you should actually use “&somedata=xxx”:
{Permalink}&somedata=xxx
When used in product variations, output a strange url, and send me to homepage.
These actually appear to be orphaned variations (variations to parent products that no longer exists). You should back up your database, then remove them via WooCommerce -> Status -> Tools -> Delete orphaned variations. Then, run the export again.
How can i, for testing, deactive the product variations?
You can use a filter to do this: https://www.wpallimport.com/tour/data-filtering/. Example: https://d.pr/pVZhQs.