News:

Looking for documentation? Take a look on our wiki

Main Menu

Thanmk you cart page

Started by encreplus, August 28, 2020, 16:43:07 PM

Previous topic - Next topic

encreplus

Good day all,

Is there a way to put a different message per payment method on the thank you cart page before being sent to the payment gateway ?

I have 3 different message to put,

regards

Stefan

pinochico

I think no,
thank you page is after redirect from payment gateway back to shop or do you have another solution?
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

GJC Web Design

Or do u mean a page that has a "click here to go to ###payment gateway### ?
I.e. not an automatic redirect .. in that case this page is created by the payment plugin itself..
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

encreplus

I mean the page before being transfer to payment gateway,

encreplus

Quote from: encreplus on August 29, 2020, 13:40:33 PM
I mean the page before being transfer to payment gateway,

Quote from: GJC Web Design on August 28, 2020, 17:46:22 PM
Or do u mean a page that has a "click here to go to ###payment gateway### ?
I.e. not an automatic redirect .. in that case this page is created by the payment plugin itself..

Yes i mean that page

pinochico

QuoteIs there a way to put a different message per payment method on the thank you cart page before being sent to the payment gateway ?

Yes.
As he said GJC: this page is created by the payment plugin itself

Then you must edit all payment plugins and paste your code into them.
Remember that you must do this manually again when upgrading VirtueMart.
If you use the 3d party payment plugin, there too.

What code and in which file I can't advise you.


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

Jumbo!

You can use VP Conversion Tracking plugin - https://www.virtueplanet.com/extensions/vp-conversion-tracking It allows you to set a common Thank You page for all payment plugin/methods. It also has many other features. Show Related Products of the ordered products in thank you page. Show Suggested Products i.e. "Customers who bought these products also bought these". Refer to the product details to learn more.


Disclaimer: We are the developer of this plugin

pinochico

QuoteYou can use VP Conversion Tracking plugin

I see no advantage
- purchase a plugin
- install
- setup
- but unfortunately to develop the possibility of displaying 3 types of messages in the plugin, just as I would not buy the plugin?

So where is the advantage?
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

Jörgen

I think Jumbo means the thank you page is common to all payment methods. But I hope that they can contain different messages depending on payment. This can only be answered bu Jumbo. The idea of one common thank you page is appealing. Today this is different depending on payment processor.

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

encreplus

Ok will try to find the file to modify thanks

encreplus

Good day

I have modify but now how can i add 1-2 seconds before being transfer to payment gateway ???

GJC Web Design

depends entirely on your payment plugin and how they redirect

std Paypal uses Jquery so u would add a Jq delay

jQuery("#vmPaymentForm").delay(2000).submit();

untested

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

encreplus

Quote from: GJC Web Design on December 26, 2020, 16:44:01 PM
depends entirely on your payment plugin and how they redirect

std Paypal uses Jquery so u would add a Jq delay

jQuery("#vmPaymentForm").delay(2000).submit();


Big thanks , it helps a lot ;)
untested



encreplus

I went with this instead ,

setTimeout(function () {
             jQuery("#vmPaymentForm").submit();
             }, 5000);