VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: hendrikdebeer on October 23, 2018, 08:33:42 AM

Title: Checkout message
Post by: hendrikdebeer on October 23, 2018, 08:33:42 AM
Good day

I'm working with Joomla! 3.8.12   & VirtueMart 3.4.2

Is there any way to change/ delete or hide the checkout message?

See attached image - my client does not want this info to be shown
Title: Re: Checkout message
Post by: Jörgen on October 23, 2018, 09:02:13 AM
Modify the override:
templates/your-template/html/com_virtuemart/cart/orderdone.php (http://templates/your-template/html/com_virtuemart/cart/orderdone.php)

Jörgen @ Kreativ Fotografi
Title: Re: Checkout message
Post by: hendrikdebeer on October 23, 2018, 09:40:06 AM
The PHP File looks like this

<?php

/**

* ---------------------------------------------------------------------------------------

* @package       VirtuePlanet Framework for Joomla

* ---------------------------------------------------------------------------------------

* @subpackage    VP Merchant Template

* @author        Abhishek Das <info@virtueplanet.com>

* @copyright     Copyright (C) 2012-2016. VirtuePlanet Services LLP. All rights reserved.

* @license       GNU General Public License version 2 or later; see LICENSE.txt

* @link          https://www.virtueplanet.com

* ---------------------------------------------------------------------------------------

* HTML         : templates/vp_merchant/html/com_virtuemart/cart/order_done.php

* TEMPLATE HTML: templates/vp_merchant/layouts/default/html/com_virtuemart/cart/order_done.php

* ---------------------------------------------------------------------------------------

*/

defined ('_JEXEC') or die('Restricted access');



// Find and load selected template layout

require plgSystemVPFrameworkHelper::getTemplate()->getHTMLLayout(__FILE__);


Title: Re: Checkout message
Post by: hendrikdebeer on October 23, 2018, 09:46:23 AM
Not sure how to edit this. Is there a common PHP description/code I can access somewhere?
Title: Re: Checkout message
Post by: Jörgen on October 23, 2018, 09:49:46 AM
As GJC already told You, You template is very much custom. the standard description does not apply.

This seems to handle the view:
// Find and load selected template layout

require plgSystemVPFrameworkHelper::getTemplate()->getHTMLLayout(__FILE__);


Sorry I do not know how to proceed, You have to talk to Your template developer about this.

Jörgen @ Kreativ Fotografi
Title: Re: Checkout message
Post by: StefanSTS on October 23, 2018, 11:17:13 AM
You have to make an override in your template in the folder:

html/plg_system_vponepagecheckout/orderdone.php

You can check the suppport forum of VirtuePlanet too, if you search you will get proper explanation how to do it.

Regards
Stefan
Title: Re: Checkout message
Post by: Milbo on October 24, 2018, 07:54:43 AM
The system of Abhishek still allows normal overrides, just a bit at a different place. yes. But actually I wonder about the reason for this system.
Title: Re: Checkout message
Post by: hendrikdebeer on October 24, 2018, 10:39:26 AM
Thanks guys

I really appreciate all your help...

I've been working on this website for close to 6 months now, and finally I can see the light!

At this stage there's just two things that needs to be fixed.

Price on product view to be smaller (It is overpowering the rest of the content) and the checkout message

I have tried .productdetails-view .product-sales-price {
font-size: 18px;
font-weight: bold;
}

but the above code is not working, not sure if the price is called something else in this case?
Title: Re: Checkout message
Post by: Jörgen on October 24, 2018, 10:56:14 AM
Please start a new thread.

This can be found with F12 or right click "inspect object" then you can see the actual html/css that is used. You can try:
  .productdetails-view .PricesalesPrice {
font-size: 18px;
font-weight: bold;
}


18px is big, what is the size now?

Jörgen @ Kreativ Fotografi