News:

Support the VirtueMart project and become a member

Main Menu

produtc tabs trigger ant other

Started by emedina, October 28, 2019, 13:13:02 PM

Previous topic - Next topic

emedina

Hello everyone.
I want to develop a pluging to upload products to amazon.  My idea is use tabs in product edit view, so i'm wondering myself if is there any trigger like "onShowBackendProductTabs".

In other way, can you add some extra information to product object without using customfields? Like a trigger onLoadProduct(&$product)?

emedina

I can answer myself but there is something i can't see:

Quotepublic function plgVmBuildTabs($view, &$load_template = array()){
      $load_template['my_awesome_tab']='COM_VIRTUEMART_MY_AWESOME_TAB';
   }
This code looks for  product_edit_my_awesome_tab in views folder (or template override).
Isn't any way to make this function looks for view file in our pluging folder?