Show better the header of "order" page

4 years 7 months ago 4 years 7 months ago by .
Posts: 136
More
Topic Author
Show better the header of "order" page #845
Hi team,
Actually, the order page feel like this with vmuikit 2.0.10 :


I suggest to feel like this :



To make this, I have change the following files :
1 : \templates\yoo_everest\html\com_virtuemart\themes\default\orders\details_summary.php
Line 26 : Remove the List order
Before :


After :


2 : \templates\yoo_everest\html\com_virtuemart\themes\default\orders\details_start.php
Line 48 : Add the list order button then put in green the print button and in yellow the list order
Before :


After :


The code to copy :
$details_link = "<a class='uk-button uk-button-success uk-text-contrast' href=\"javascript:void window.open('$this->details_url', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no');\"  >";
	//$details_link .= '<span class="hasTip print_32" title="' . JText::_('COM_VIRTUEMART_PRINT') . '">&nbsp;</span></a>';

	$details_link  .=  '<i class="uk-icon-print uk-margin-small-right"></i>';
	$details_link  .=   JText::_('COM_VIRTUEMART_PRINT_ORDER');
	$details_link  .=   '</a>';
	echo $details_link;
	
	if($this->order_list_link){
		$details_link2   =  "<a class='uk-button uk-button-primary uk-text-contrast uk-align-right' href=";
		$details_link2  .=  $this->order_list_link;
		$details_link2  .=  '>';
		$details_link2  .=  '<i class="uk-icon-arrow-left uk-margin-small-right"></i>';
		$details_link2  .=   JText::_('COM_VIRTUEMART_RETURN_LIST_ORDER');
		$details_link2  .=   '</a>';
		echo $details_link2;
	}

3 :\language\fr-FR\fr-FR.com_virtuemart.ini
Add these variables :
COM_VIRTUEMART_PRINT_ORDER="Imprimer la commande"
COM_VIRTUEMART_RETURN_LIST_ORDER="Retour à la liste des commandes"

Idem for the en-GB.com_virtuemart.ini file.

Hope I can contribute to your product.

Best regards
The following user(s) said Thank You cnorin

Please Log in or Create an account to join the conversation.

4 years 7 months ago 4 years 7 months ago by .
Posts: 136
More
Topic Author
Show better the header of "order" page #873
Hi team,
Are you agree with this suggestions ?
Can you integrate it for the next release of VMuikit ?

Thanks.

Please Log in or Create an account to join the conversation.

4 years 6 months ago
Posts: 954
More
Show better the header of "order" page #880
Yes we will! We have had lots to do theis week here but will try to add this soon
The following user(s) said Thank You artephius

Please Log in or Create an account to join the conversation.

4 years 6 months ago
Posts: 1284
More
Show better the header of "order" page #881
Hello,

We already added this features in last release.

but we can't change language file.

Thanks
The following user(s) said Thank You artephius

Please Log in or Create an account to join the conversation.

4 years 6 months ago
Posts: 136
More
Topic Author
Show better the header of "order" page #882
Ok no problem ;)

Please Log in or Create an account to join the conversation.

4 years 6 months ago 4 years 6 months ago by .
Posts: 136
More
Topic Author
Show better the header of "order" page #883
Yes !! I have updated my website with your new version.
That's very nice !

Thanks again for your works.
The following user(s) said Thank You cnorin

Please Log in or Create an account to join the conversation.

Time to create page: 0.211 seconds
Powered by Kunena Forum

Latest News from JoomlaPro.com

VMuikit 5 is finally out!

Our next version of our popular VMuikit package is out. This time we have some quite nice new features.

Electroneum Joomla/VirtueMart plugins

JoomlaPro.com are not only web & Joomla enthusiast, we cannot stay away from checking other tech trends as well. The last few years its been hard to miss the crypto/blockchain ...

New plugin: Secure Joomla Login

We have released a new plugin that adds a extra PIN code and a reCaptcha v2 check on Joomlas login. Security is very important on all fronts of a website. One often missed one is ...

We accept PayPal, 2Checkout & Electroneum payments:

We accept PayPal payments    We accept 2checkout payments  electroneum payment


For news and updates please like :