FAQ(VirtueMart)

From Kb_JMY(晉明夷)

Jump to: navigation, search

FAQ(VirtueMart)


Contents

Paypal Issues


Administration

How to disable shop administration in the frontend?


How to change product image storage directories?


Here is the Solution: <--- NOT TESTED!

  • Assume: virtuemart version ??
  • Check the file:
-> ps_product.files.php (administrator\components\com_virtuemart\classes)
-> find these two lines:
$d["file_url"] = IMAGEURL."product/".$filename;
$d["file_url"] = IMAGEURL."product/".$_FILES['file_upload']['name'];
which control the image storage path
  • Change the IMAGEURL through
-> ps_config.php and
-> virtuemart.cfg.php


Order Management

How to redirect "Call for pricing" to "Contact Us" instead of an email pop-up?


Themes & Layout Customization

How to remove Shipping information?

  • Assume: VM_1.1.4
  • Ref:
  1. virtuemart.net -- How to remove Shipping information?
  2. virtuemart.net -- Delete Prices in Confirmation Email Template
  • Ans:
  • locate the file: <Joomla directory>/components/com_virtuemart/themes/ja_larix/templates/order_emails/confirmation_email.tpl.php
-> Note that it should be "default", instead of "ja_larix", if the "default" virtuemart theme is used!
  • search for "begin shipto" and you should find at, about line#98, the following codes:
	<!-- begin shipto --> 
      <table width=100% border=0 cellpadding=2 cellspacing=0 class="Stil1">
        <tr>
          <td colspan="2"><b><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_SHIP_TO_LBL') ?></b></td>
        </tr>
...
...
      </table>
      <!-- end shipto --> 
      <!-- end customer information --> </td>
  • delete the codes in between "begin shipto" and "end shipto"
  • That's it!



Personal tools