Archive for July, 2011
You may have come across this problem. When you add the availability information in the backend for a product, in the frontened the availability image will be displayed with a phrase “Usually ships in” which you may not need.
Let’s see how to solve this. (I’m using Virtuemart 1.9 package. For older versions also similar method may apply).
This is what you get normally.
Now let’s try to remove this “Usually ships in” phrase.
Find the “english.php” file in “/administrator/components/com_virtuemart/languages/common/” folder.
Then find “Usually ships in” phrase there. Around line 362 you’ll find the line
'PHPSHOP_DELIVERY_TIME' => 'Usually ships in',
Replace it with
'PHPSHOP_DELIVERY_TIME' => '',
Now save and check the flypage in the frontend. You’ll get something like this.
Now you’ll see that the “Usually Ships in” phrase is removed. But a colon is seen there. Let’s try to remove it.
Find “availability.tpl.php” file in the “components/com_virtuemart/themes/default/templates/common/” folder. (here “default” is your virtuemart theme’s name if you are using one other than the default)
There search for “PHPSHOP_DELIVERY_TIME” ( Think you understand why we are searching for this phrase.)
In around line 36 you’ll see this line
<!--?php echo $VM_LANG--->_('PHPSHOP_DELIVERY_TIME') ?>:
There remove the colon “:”. So the new line must be
<!--?php echo $VM_LANG--->_('PHPSHOP_DELIVERY_TIME') ?>
See the frontend. You are done.
You’ll get something like this nowGoogle+