News:

Support the VirtueMart project and become a member

Main Menu

Need Custom thank you page after successful order

Started by mohtashimj, May 20, 2020, 22:10:49 PM

Previous topic - Next topic

mohtashimj

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

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 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

mohtashimj

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

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 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