Showing posts with label Virtuemart. Show all posts
Showing posts with label Virtuemart. Show all posts

Friday, 23 November 2018

Remove Copyright Info from Smaraddons Joomla Templates

To remove Copyright Info form Footer in Smart Addons Templates, follow the below steps

  1. Go to templates/you-template-name
  2. Then go to includes/lib/template.php
  3. Edit template.php
  4. Remove the Copyright Information
  5. Save File

How to set Minimum Purchase Quantity in Virtuemart Joomla

How to set Minimum Purchase Quantity in Virtuemart Joomla
I modified the following file: /components/com_virtuemart/themes/default/templates/product_details/includes/quantity_box_general.tpl.php

I added the following code immediately after:
extract( $quantity_options );

Code:

//Minimum Quantity added by Asgard Development
require_once('administrator/components/com_virtuemart/classes/ps_product.php');
$minimum_quantity_ad = ps_product::product_order_levels($prod_id);


//Minimum Quantity added by Asgard Development
if($minimum_quantity_ad[0])
  $quantity = $minimum_quantity_ad[0];