Author Topic: Need Custom thank you page after successful order  (Read 143 times)

mohtashimj

  • Beginner
  • *
  • Posts: 27
  • A beginner
  • Skype Name: mohtashim.astecksoft
Need Custom thank you page after successful order
« on: May 20, 2020, 22:10:49 pm »
Hello All,

I need to know how can I redirect on custom thank you page I created after successful orders placed on virtuemart. Right now the url is having product id and hence it is not creating SE404SEF url for that success page.
Right now I am getting Thank you page like below

https://www.domain.com/index.php?option=com_virtuemart&view=opc&controller=opc&task=checkout&nosef=1&virtuemart_product_id=xxxx&lang=en&lang=en

where xxxx is product id and I need system will redirect on below URL.

https://www.domain.com/cart/thank-you

which I have already created.

Please help me on this asap.

I am using Joomla version  3.9.5 and Virtuemart version  3.4.2

pinochico

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 379
    • MiniJoomla
  • VirtueMart Version: 3
Re: Need Custom thank you page after successful order
« Reply #1 on: May 20, 2020, 22:32:25 pm »
What are you doing, if you have in orders several different products, what will be the URL?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

mohtashimj

  • Beginner
  • *
  • Posts: 27
  • A beginner
  • Skype Name: mohtashim.astecksoft
Re: Need Custom thank you page after successful order
« Reply #2 on: May 20, 2020, 22:45:26 pm »
If we have several different products in one order then the url is generating like below.

index.php?option=com_virtuemart&view=opc&controller=opc&task=checkout&nosef=1&lang=en&lang=en

virtuemart_product_id=xxxx is not adding in URL.

pinochico

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 379
    • MiniJoomla
  • VirtueMart Version: 3
Re: Need Custom thank you page after successful order
« Reply #3 on: May 20, 2020, 23:40:27 pm »
we use opc from rupostel and custom thanks page:

www.kolo-park.cz

try add to cart something and finish order.

But we changed only design inside order-done.php

I think, you can setup inside opc - Redirect to article and article + URL can create in hidden menu
1. cart (basic menu item)
2. thank-you (submenu item)


www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates