News:

Looking for documentation? Take a look on our wiki

Main Menu

editing view order Template

Started by hassanegenius, July 04, 2014, 18:32:46 PM

Previous topic - Next topic

hassanegenius

Hi,, i need some idea about virtual mart email confirmation template. After make a any order in my stroe, its send  a link to client for view his order. So, my question is that, how can we edit this template. i dont know what is call this template.  this link is something like mystore/option=com_virtuemart&view=orders&layout=details&order_number=976d015&order_pass=p_06b07

i attached a picture hope my question will be clear. i just want to add  module in left and right side. 

please.. any help..

Thanks.

[attachment cleanup by admin]

GJC Web Design

assume u need to over ride  components/com_virtuemart/views/orders/tmpl/details_order.php
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

hassanegenius

Hi,, Thanks for your sugession. But i need to set module position in left or right side. Though i dont have any page/menu  for this template. so, i cant make enable module for this. Any idea,,, how to create a page or menu,, then enable module from extention -> module manager-> my module -> then select this page /menu for particular positon.



Thanks

GJC Web Design

embed a load module position in the template?
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

hassanegenius

embed? how? sorry dont get you... i attached a image.. hope then you will help me.
thanks

[attachment cleanup by admin]

jenkinhill

You seem to confuse Joomla templates with the type of template used for email. I suggest you use a dedicated VM mail editor - http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-administration/10197
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

or if this is just for your order view ->

basically

jimport('joomla.application.module.helper');
$module = &JModuleHelper::getModule('mod_custom','Your module name');
echo JModuleHelper::renderModule($module);


then you can show a module there (I assume this is what u want?)
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

hassanegenius

hI,, GJC Web Design.

YES , THIS IS JUST FOR ORDER VIEW..

GJC Web Design

then add that code above etc - google adding Joomla add module to component view - this is std Joomla hacky stuff
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

hassanegenius

sorry i am lost. which file should i add this code :  components/com_virtuemart/views/orders/tmpl/details_order.php  (in this file ?? )
And then ? i don't have google adding Joomla add module !! and i cant find it Google..
please , can you give me easy instruction--

Thanks for your effort.

GJC Web Design

There are no easy instructions - it requires skills - if you haven't the skills then you can't expect free training and /or coding..

As with anything in life - if u can't do it you employ someone who can...
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

hassanegenius

i am new in joomla coding.. Anyway thanks for your suggestion .