Recent Posts

Pages: [1] 2 3 ... 10
1
Installation and Configuration / Re: Images upload, but are errors
« Last post by millani95 on October 25, 2020, 02:52:36 PM »
I would like to know more about the subject because I have a similar problem, where can I find information?
2
Ah look, I had no idea, I really liked your post.
3
General Discussion / Web Hosting
« Last post by Web Eye Soft on October 25, 2020, 07:34:22 AM »
Web Eye soft is one of the Best Cheap web hosting in india. We provides the better web hosting at affordable prices. Get the best hosting plans and offers at Web Eye Soft
4
Opinions / Re: Is Abantecart emerging or dying?
« Last post by kellyma53 on October 23, 2020, 12:10:12 AM »
I still have hope for abantecart
5
API Development / Re: Shipping Method selection problem
« Last post by Rawinder Dhillon on October 22, 2020, 12:06:33 PM »
if (!isset($this->session->data[ 'shipping_methods' ]) || !$this->config->get('config_shipping_session')) {
         $quote_data = array();

         $results = $this->model_checkout_extension->getExtensions('shipping');
         foreach ($results as $result) {
            $this->loadModel('extension/' . $result[ 'key' ]);

            $quote = $this->{'model_extension_' . $result[ 'key' ]}->getQuote($shipping_address);

            if ($quote) {
               $quote_data[ $result[ 'key' ] ] = array(
                  'title' => $quote[ 'title' ],
                  'quote' => $quote[ 'quote' ],
                  'sort_order' => $quote[ 'sort_order' ],
                  'error' => $quote[ 'error' ]
               );
            }
         }

         $sort_order = array();

         foreach ($quote_data as $key => $value) {
            $sort_order[ $key ] = $value[ 'sort_order' ];
         }

         array_multisort($sort_order, SORT_ASC, $quote_data);

         $this->session->data[ 'shipping_methods' ] = $quote_data;
      }


this function from API print List of shipping methods when condition is true
can someone plz explain the line below?
 
!$this->config->get('config_shipping_session'))
6
Upgrade / Re: Stripe payments no longer working since update
« Last post by llegrand on October 21, 2020, 03:06:32 PM »
for those of you not completely familiar with GitHub files etc.  we have posted the patch files in our WHY2 central along with instructions.   

They are here https://why2central.net/patch/default-stripe-patch/

the support team from WHY2
7
for those of you not completely familiar with GitHub files etc.  we have posted the patch files in our WHY2 central along with instructions.   

They are here https://why2central.net/patch/default-stripe-patch/

the support team from WHY2


8
API Development / Re: Shipping Method selection problem
« Last post by Rawinder Dhillon on October 21, 2020, 01:13:10 PM »
ok admin :-(
9
API Development / Re: Shipping Method selection problem
« Last post by Rawinder Dhillon on October 21, 2020, 10:39:27 AM »
I am trying to clarify the question. Are you expecting to see the same list all the time?

What version of Abantecart do you have?


im using an older version
10
API Development / Re: Shipping Method selection problem
« Last post by Rawinder Dhillon on October 21, 2020, 10:38:59 AM »
I am trying to clarify the question. Are you expecting to see the same list all the time?

What version of Abantecart do you have?

no, from android app , (as i already know the shipping methods) i dont need to access list with mode =List
so i want to use "mode= Select" Command(that selects shipping Method)
but Mode=Select Command returns list of shipping Method options
its actual output must be
{
    "status": 1,
    "shipping_select": "success"
}


in postman it returns this output on when i Run this command 2nd time .



Pages: [1] 2 3 ... 10

Powered by SMFPacks Social Login Mod