Home » Archive

Articles in the 1 Category

1 »

[26 Feb 2011 | No Comment | ]

If you want to set cron into cerberus helpdesk go into cPanel and set below command for cron jobs
“wget http://YOURDOMAIN_NAME/cron?loglevel=3″

1, Zen Cart »

[17 Jan 2011 | No Comment | ]

In zen cart that is default that you can create admin coupon to give amount deduction or free shipping ,
you can not give customer both benefit of amount deduction as well as free shipping,
to do that you have to add code in two files that are
1) includes/modules/order_total/ot_coupon.php
2) includes/templates/[your template]/popup_coupon_help/tpl_main_page.php
In file 1 ot_coupon.php
find the code as

if ($od_amount['type'] == ‘S’) $order->info['shipping_cost'] = 0;
$order->info['total'] = $order->info['total'] – $od_amount['total'];
if (DISPLAY_PRICE_WITH_TAX == ‘true’) {
$od_amount['total'] …

1 »

[28 Dec 2010 | No Comment | ]

When integrate wordpress in to zen cart using the Zen cart CEON module then we might face the problem in the URL of woprdpress pages, posts and other links.
To solve the above problem, just go to wordpress admin -> Settings -> Permalinks
From the permalink settings of wordpress admin, select Default and then Save Changes

1 »

[13 Aug 2010 | No Comment | ]

<?php
$userAgent = strtolower($_SERVER['HTTP_USER_AGENT']);

// Identify the browser. Check Opera and Safari first in case of spoof. Let Google Chrome be identified as Safari.
if (preg_match(‘/opera/’, $userAgent)) {
$name = ‘opera’;
}
elseif (preg_match(‘/webkit/’, $userAgent)) {
$name = ’safari’;