VirtueMart izgled proizvoda

Autor Lela, 07. Lipanj 2011, 09:44

0 Članovi i 1 Gost pregledava ovu temu.

Lela

Gdje mogu isključiti one stvari tipa "Ask a question about this product" i "Call for Pricing", ne mogu to nigdje naći?

ivan599

#1
Ask a question about this product - ovo se neda iskljucit nigdje nažalost preko admin panela.

Ali ju možeš rucno iz koda izbrisat.


components/com_virtuemart/themes/default/templates/product_details/flypage.tpl.php


Red 43 u originalnoj temi  ili 36 u zasebnoj temi
$ask_seller

Call for Pricing

\components\com_virtuemart\themes\ja-zeolite\templates\common\price.tpl.php

locate this code

$link = $sess->url( $_SERVER['PHP_SELF'].'?page=shop.ask&product_id='.$product_id.'&subject='. urlencode( $VM_LANG->_('PHPSHOP_PRODUCT_CALL').": $product_name") );
echo vmCommonHTML::hyperLink( $link, $VM_LANG->_('PHPSHOP_PRODUCT_CALL') );


below this code add the following

echo " | ";
$link =$_SERVER['PHP_SELF'] . '?option=com_user&view=login&product_id='.$product_id;
echo vmCommonHTML::hyperLink( $link, $VM_LANG->_('PHPSHOP_PRODUCT_LOGIN') );