Thread: Global Variable
View Single Post
  #6  
Old 02-08-2011, 10:52 AM
 
thygtd thygtd is offline
 

Advanced Member
  
Join Date: Dec 2010
Posts: 31
 

Post Re: Global Variable

Quote:
Originally Posted by qualiteam
You can add a new option to the "xcart_config" table.

It will automatically appear in the X-Cart admin backend and will be available in both PHP code and templates (e.g. $config['General']['your_option_name'] & {$config.General.your_option}).

Check the "<xcart_dir>/sql/xcart_data.sql" file for sample INSERT SQL commands.

Hi,
We followed your idea. Currently its working fine. But a problem occurs on mini cart and cart pages. The values added are not multiplied with no. of products added to cart. Can u shed some light on that? It would be great if u point us where the calculation(taxed price X quantity) is made. Thanks in advance.
__________________
X-Cart/LiteCommerce version v4.4.1
Reply With Quote