Author Topic: SEF url for orders that are complete  (Read 1829 times)

Kuubs

  • Jr. Member
  • **
  • Posts: 382
SEF url for orders that are complete
« 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

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3933
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: SEF url for orders that are complete
« Reply #1 on: May 10, 2022, 10:24:52 am »
One page checkout has some setting perhaps ?

Quote
controller=opc&task=checkout&nosef=1

controller=opc
nosef = 1 !

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Kuubs

  • Jr. Member
  • **
  • Posts: 382
Re: SEF url for orders that are complete
« Reply #2 on: May 10, 2022, 10:36:57 am »
One page checkout has some setting perhaps ?

Quote
controller=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.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1620
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: SEF url for orders that are complete
« Reply #3 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 :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1620
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: SEF url for orders that are complete
« Reply #4 on: May 10, 2022, 10:41:59 am »
Quote
I 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 :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10530
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: SEF url for orders that are complete
« Reply #5 on: June 20, 2022, 20:25:14 pm »
ș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
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/