News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How to set confirm page after purchase?

Started by peaceandlove, November 04, 2013, 10:00:09 AM

Previous topic - Next topic

peaceandlove

I want to set our website home page or we will create a new thank you page once we customer pay the payemnt, where did we set that?

Currently when we are cofirmation the payment we are directed to our site with our site index page, which we never set up? can we remove that index simple,

screen shot is attached

[attachment cleanup by admin]

peaceandlove


GJC Web Design

first do yourself a favour and switch off ALL SEF while your developing the site - then you can see where you are actually being sent

from the screenshot looks like your using Paypal? but it also shows all your css missing etc..
this is the template page
templates/yourtemplate/html/com_virtuemart/cart/order_done.php if your using over rides


  the html is from the paypal plugin but there is a mistake on the current one

plugins/vmpayment/paypal/paypal.php  ~ line 241

$html = '<html><head><title>Redirection</title></head><body><div style="margin: auto; text-align: center;">';
$html .= '<form action="' . "https://" . $url . '" method="post" name="vm_paypal_form"  accept-charset="UTF-8">';
$html .= '<input type="submit"  value="' . JText::_('VMPAYMENT_PAYPAL_REDIRECT_MESSAGE') . '" />';
$html .= '<input type="hidden" name="charset" value="utf-8">';
foreach ($post_variables as $name => $value) {
$html .= '<input type="hidden" name="' . $name . '" value="' . htmlspecialchars($value) . '" />';
}
$html .= '</form>';
$html .= ' <script type="text/javascript">';
$html .= ' document.vm_paypal_form.submit();';
$html .= ' </script></body></html>';


the line $html .= '</form>';  should be

$html .= '</div></form>';

it is missing the closing div and can cause layout problems

but you need to investigate why your css isn't loaded
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