News:

AbanteCart v1.4.3 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - shahiran12395

#16
General Support / Re: cart empty when view
August 23, 2019, 03:12:46 AM
btw is there any chance my php setting is wrong?
#17
General Support / Re: cart empty when view
August 23, 2019, 02:55:11 AM
Quote from: Basara on August 23, 2019, 01:27:47 AM
Hi.
You can find AbanteCart version in your admin footer right

i cant see on my version  :'(
#18
General Support / Re: cart empty when view
August 22, 2019, 08:00:13 PM
Quote from: HADY on August 20, 2019, 04:33:58 AM
hi!

What is your abantecart version and what is your recently php version??

Regards

php version is 7.1 and how to check the abantecart version?
#19
General Support / Re: cart empty when view
August 20, 2019, 03:50:39 AM
this situation happen if someone using Microsoft edge to access the website. for other web browser works just fine. where can i refer this issues?
#20
General Support / cart empty when view
August 19, 2019, 11:29:10 PM
Hi guys im having trouble with the cart. I already add the item to the cart but when i want to check the checkout/cart page it return an empty cart on certain pc while other pc it run smoothly. there no error listed in my error log so i cant figure out what happen to the item. can anyone advice me on how to fix it?
#21
How-to questions / gridunload
August 15, 2019, 12:01:17 AM
hi. im trying to generate new column to product list table for admin using gridunload but its not working. can advice me on how to do it

var text_choose_action = <?php js_echo($text_choose_action); ?>;
var text_select_items = <?php js_echo($text_select_items); ?>;
var _table_id = '<?php echo $data['table_id'?>';
var table_id = '#<?php echo $data['table_id'?>';
var jq_names = [<?php
foreach($data['colNames'] as $col_name){
js_echo($col_name);
echo ',';
}
//echo "'" . implode("','", $data['colNames']) . "'"
?>
];
var jq_model = [<?php
$i 1;
foreach ($data['colModel'] as $m) {
$col = array('resizable: false''title: false''searchoptions: { sopt:[\'cn\'] }');
foreach ($m as $k => $v) {
if (is_string($v)) {
$col[] = "$k: '" addslashes($v) . "'";
} else if (is_int($v)) {
$col[] = "$k: " . (int)($v);
} else if (is_bool($v)) {
$col[] = "$k: " . ($v 'true' 'false');
}
}
echo "{" implode(','$col) . "}";
if ($i count($data['colModel'])) {
echo ',';
$i++;
}
echo "\r\n";
}
?>
];

var gridFirstLoad = true;

var updatePerPage = function(records, limit) {
var html='',
rowList = [<?php echo implode(','$data['rowList']) ?>];
for (var i = 0; i < rowList.length; i++) {
if (records > rowList[i]) {
html += '<option '
+ (rowList[i] == limit ? ' selected="selected" ' : '')
+'value="' + rowList[i] + '">'
+ rowList[i] + '</option>';
}
}
if (records <= 100) {
html += '<option '+ (records == limit ? ' selected="selected" ' : '') +'value="' + records + '"><?php echo $text_all ?></option>';
}
$(table_id + '_pager_center .ui-pg-selbox').html(html);
}

    $(table_id).jqGrid('GridUnload');
#22
Templates / Re: product list add new collumn
August 13, 2019, 02:42:30 AM
sorry. do you have example on how to do it. this is from my product.php

$grid_settings['colModel'] = array(
array(
'name' => 'image',
'index' => 'image',
'align' => 'center',
'width' => 65,
'sortable' => false,
'search' => false,
),
array(
'name' => 'name',
'index' => 'name',
'align' => 'center',
'width' => 200,
),
array(
'name' => 'new_column',
'index' => 'new_column',
'align' => 'center',
'width' => 120,
),
#23
Templates / product list add new collumn
August 12, 2019, 10:50:05 PM
hi. i want to know how can i create new column to admin product list view in "rt=catalog/product"?
#24
How-to questions / insert error into error log
August 09, 2019, 05:08:37 AM
Hi. im currently having difficulty to check whether each function i created run successfully or not because not shown at the error log. so how can i add error text to the error log so i can review it. is there any sample that i can follow on how you guys generate the error log.
#25
How-to questions / add new required form field
August 08, 2019, 03:20:58 AM
Hi, im trying to add new required form field for guest checkout. But the field still can be blank without value. how can i appear error message like email field?

here is my code

if (isset($_post['nric'])){
            $nric = $_post['nric'];
        } elseif (isset($_session['guest']['nric'])){
            $nric = $_session['guest']['nric'];
        } else{
            $nric = '';
        }
        $this->data['form']['fields']['general']['nric'] = $form->getFieldHtml(
            array (
                'type'  => 'input',
                'name'  => 'nric',
                'value' => $nric,
                'required' => true,
            ));
#26
How-to questions / Re: free item
August 08, 2019, 01:12:56 AM
okey. so how can i make the page redirect if customer has made 3 transaction per day if it is free item?because currently im using payment gateway to check whether the customer have reach certain transaction limit for one day sales. so for free item it will not through payment gateway but just straight away success.
#27
How-to questions / free item
August 07, 2019, 12:38:31 AM
Hi guys, im wondering how the system handle item with price 0.00. Where can i see the controller?
#28
hi there, im creating new condition where if user exist in system2 the login controller will fetch the data from the system2 and auto register the user. so how can i auto submit the fetch data to rt='account/create'?

below is my code. i just need to post the data to account/create

//execute the POST request
                $result = curl_exec($ch);

                //close cURL resource
                curl_close($ch);

                if($result=="false"){
                    header('Location: ' . url.'?rt=account/login&false_entry_login_detail=1');
                    die();

                }
                $user_data = json_decode($result);
#29
Customization help / Re: send welcome email error
July 25, 2019, 05:49:48 AM
its okey..i already found the error..the one dot <.> after closing the quotes that i overlooked. so right now the mail run like before.. thanks for responding
#30
How-to questions / Re: readonly input
July 17, 2019, 02:37:02 AM
thanks..it help.. i just figure out how to make the input readonly. btw how can i display the label for the input? i cant display the label for my new input

Forum Rules Code of conduct
AbanteCart.com 2010 -