News:

AbanteCart v1.4.3 is released.

Main Menu

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

Topics - shahiran12395

#1
General Support / mixed content issue
September 25, 2019, 11:23:17 PM
hi, im having trouble with Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '<URL>'. This request has been blocked; the content must be served over HTTPS.

how can i solve it?
#2
Configuration / Chinese language
September 23, 2019, 05:03:56 AM
Hi, im trying to install Chinese language but the extension market shows the exclamation mark and when i click to install it only popup a modal with loading animation only. So how can i use the language extension?

Btw, im using version 1.2.15 right now
#3
Support / shipping page
September 09, 2019, 12:57:32 PM
Hi. I want to ask, i have active self pickup extension but during checkout it skip the shipping pages. is there any requirement to select shipping option because i not set the the self pickup extension selected as default. this for logged user and guest checkout
#4
Development Help Needed / price zero issue
August 28, 2019, 10:59:39 PM
i have issue on when item is put to 0.00 the button redirect me to payment gateway before this it just go to success checkout. it happen for logged in user checkout only. guest checkout work correctly. which part that i need to double check is it payment or confirm controller?
#5
Support / disable multiple login
August 26, 2019, 12:48:34 AM
hi,i wanna ask is this site can disable multiple login for single account?  example if user has logged in to the system using pc web browser they will be auto logged out if he/she logged to other browser or device
#6
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?
#7
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');
#8
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"?
#9
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.
#10
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,
            ));
#11
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?
#12
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);
#13
How-to questions / readonly input
July 17, 2019, 12:27:09 AM
hi guys. i want to create readonly or disable input attribute. how can i set it? i try adding 'readonly'=>true in each form array but not working

$this->data['form']['fields']['general']['phone_code'] = $form->getFieldHtml(
            array (
                'type'  => 'input',
                'name'  => 'phone_code',
                'value' => $phone_code,
                'readonly' => true
            ));
#14
Development Help Needed / adding new input
July 16, 2019, 04:25:02 AM
hi, im trying to add new input. but the label wont show. i have register definition using admin also add new definition in guest_step_1.xml but still no effect. below is my code. can advice me on how to do it. i need to insert phone code for different country

<definition>
<key>entry_extension</key>
<value><![CDATA[Extension:]]></value>
</definition>


if (isset($_post['extension'])){
            $extension = $_post['extension'];
        } elseif (isset($_session['guest']['extension'])){
            $extension = $_session['guest']['extension'];
        } else{
            $extension = '';
        }

        $this->data['form']['fields']['general']['extension'] = $form->getFieldHtml(
            array (
                'type'  => 'input',
                'name'  => 'extension',
                'value' => $extension
            ));

if (isset($_post['telephone'])){
$telephone = $_post['telephone'];
} elseif (isset($_session['guest']['telephone'])){
$telephone = $_session['guest']['telephone'];
} else{
$telephone = '';
}

$this->data['form']['fields']['general']['telephone'] = $form->getFieldHtml(
array (
'type'  => 'input',
'name'  => 'telephone',
'value' => $telephone
));
#15
Customization help / send welcome email error
July 15, 2019, 12:18:22 AM
Hi guys. Im currently customizing success checkout function where it will create new login account for guest checkout after the guest user successful pay the product. When the account is created the welcome email not running and give white pages on "rt=checkout/success". I have attach image of my code.
#16
General Support / generate path
June 10, 2019, 11:34:06 PM
Hi, i want to ask
#17
Hi, Im trying to create new controller for my extension to redirect success payment to this controller before getting checkout/success page.

i got this error after i make a payment.

Fatal error: Class 'AController' not found in {path}\extensions\payment_gateway\storefront\controller\responses\extension\rsi_payment_callback.php

how to fix it this issue?
#18
Development Help Needed / sending payment status
May 21, 2019, 03:38:24 AM
afternoon, i have problem with redirect back from payment gateway after success or fail. Can someone advice me on how to sent success payment or failed payment to the system.

FYI, im creating my own payment extension. below partial code on how parameter is sent to the payment gateway.
#19
hi guys. i got this error message during abantecart installation on my testing server
" Name Info 2::warning
session_name(): Cannot change session name when session is active in C:\inetpub\wwwroot\{folder}\core\lib\session.php on line 121 "

how can i fix it?because im stuck at 1st step of installation
#20
How-to questions / implement custom payment gateway
April 04, 2019, 11:04:31 PM
hi guys. need advice on how can i use other payment gateway API that are not listed in plugin option during checkout ?

Forum Rules Code of conduct
AbanteCart.com 2010 -