VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: Kuubs on May 10, 2022, 10:13:45 AM

Title: SEF url for orders that are complete
Post by: Kuubs on May 10, 2022, 10:13:45 AM
Hello,

I have an issue with the SEF url from the website when an order is made. At the moment the URL looks like this:

/index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived...

I want this to be an SEF url, so for example:

/thank-you-for-your-order

Now I tried making menu items with the Virtuemart Thank you page, but it's not working, I constnatly get redirected to the page above. How can I make sure that every payment plugin sends me to the SEF URL?

Even the normale standard payment plugin sends me to this url:

/index.php?option=com_virtuemart&view=opc&controller=opc&task=checkout&nosef=1&virtuemart_product_id=145&lang=nl-NL&lang=nl-NL
Title: Re: SEF url for orders that are complete
Post by: Jörgen on May 10, 2022, 10:24:52 AM
One page checkout has some setting perhaps ?

Quotecontroller=opc&task=checkout&nosef=1

controller=opc
nosef = 1 !

Jörgen
Title: Re: SEF url for orders that are complete
Post by: Kuubs on May 10, 2022, 10:36:57 AM
Quote from: Jörgen on May 10, 2022, 10:24:52 AM
One page checkout has some setting perhaps ?

Quotecontroller=opc&task=checkout&nosef=1

controller=opc
nosef = 1 !

Jörgen

I will check with the developer.

But the weird thing is that the other payment option show another URL. It's not the same for every plugin. I was hoping that maybe this could be standardised so that every payment gets redirected to the SEF url.
Title: Re: SEF url for orders that are complete
Post by: pinochico on May 10, 2022, 10:37:50 AM
șef url îs for static article, not for dynamic information about order.
is big mistake create self url, because you don't want indexing, then why must be sef?

is not right idea :)
Title: Re: SEF url for orders that are complete
Post by: pinochico on May 10, 2022, 10:41:59 AM
QuoteI was hoping that maybe this could be standardised so that every payment gets redirected to the SEF url.

No, every payment plugin has own redirect URL.
I know, because we developed a lot of payment plugins :)

before 8 years I wanted the same as you and our Gopay plugin has option redirect for OK payment to custom article still.
Today not.

Information after payment I need with dynamic information about order (ok info or error order with link for payment again).
This URL I don't want indexing, then is not mother if sef or non-sef :)
Title: Re: SEF url for orders that are complete
Post by: Milbo on June 20, 2022, 20:25:14 PM
Quote from: pinochico on May 10, 2022, 10:37:50 AM
șef url îs for static article, not for dynamic information about order.
is big mistake create self url, because you don't want indexing, then why must be sef?

is not right idea :)


Right, we did not SEF the add to cart link, but people insisted, so we added it as option. But useless.

and the final page, btw should be SEFed, if you return from the payment to the cart should look like "orderdone" or so