Show Posts


Messages - Claudio Garcia

Pages: 1 [2] 3
16
How-to questions / Re: Serial number
« on: October 27, 2019, 03:31:32 AM »
Hello abantecart

Its not software license is at my Church yard sale
They have inventory code of chairs, tables, desks, tablecloths

i personalize the "bank transfer" as "Cash on hand" and i have all configure but my problem now is they want to delivery product based on  inventory code. So this is not way in Abatecart right now or yes? because i investigate in forum and in the settings and not found  info about.

They also ask that costumer buy only 3 products quantity per customer, becuase they want to give oportunities to all members to participate but this is not setting right now with Abantecart because has restriction by orders not by customer. I would like to know how but i havent found information

Thank you very much for your help.

17
Support / Re: How can i setup orders cash or credit
« on: October 24, 2019, 06:22:34 PM »
Thank you llegrand

I checked coupon and its good to use coupon credit.

thank you.


18
How-to questions / Serial number
« on: October 24, 2019, 05:56:46 PM »
I will explain with an example, what i want to config:

Product: Tablet1 - quantity 10 (all same)
Seriales number available: 1,2,3,4,55,61,34,22,58,70

Product:Tablet2 - quantity 5 (all same)
Seriales number available: 91,92,93,94,95

How its possible to show in order the serial number that customer buy. If a customer buy 2 tablet1 and 3 tablet2, show in order the serial numbers assign to the customer.

Thank you a lot for your help.


19
Support / Re: How can i setup orders cash or credit
« on: October 23, 2019, 11:53:10 AM »
If you register as costumer, will  give a "100 córdobas" wellcome credits to buy its almost 5 dóllars.
Its credit you can apply in your cart.

Abantecart has credit registration as transaction, but i want to appy to every new customer this credit.

20
Hi Basara

Please help with this. A case is the following:

Order1 has 3 towells, 2 Shampoo
Order2 has 2 pamper
order3 has 1 haircom

If customer is doing a new order, i need Abantecart valide Customer not buy towells, Allow only 1 Shampoo, Only 1 pamper and 2 haircom, becuase it has a max of 3 products per all orders.

I did a view in the database who list:

Customer_id, product_id, and max_quantity.
2              pamper               2
2                towel                3
2                haircom           1

How can query this in cart.php?
What is the variable who has the customer_id
it i know who is customer_id maybe i can go a head in my proyect.

Thank you a lot for your help.



21
Support / Re: How can i get the customer_id in cart.php
« on: October 21, 2019, 06:54:44 PM »
Hi Sam

I am in: \storefront\controller\pages\checkout\cart.php

But i dont know how to call customer_id, how to assign the value to a variable, for example:

$customerid = $this.order[customer_id]

22
Support / How can i get the customer_id in cart.php
« on: October 21, 2019, 03:58:56 PM »
I need to do a validation and want to know how can i get the customer_id from user who is in the cart processing an order.

Thanks

23
Development Help Needed / Define max quantity products for customer
« on: October 21, 2019, 06:58:53 AM »
Hello Everybody

What i need is to block customer who orders more than 3 quantity for every product, not per order, Per customer and per all orders.
I was thinking to block customer to make one order. But its better customer makes orders who they want but restrict only 3 products quantity per each product per all orders. I know is not logical rule but its a requeriment.

I checked exists orders in Cart Controller Hook: storefront/controller/pages/checkout/cart.php:260 line

24
Extensions and Add-Ons / Re: Define max quantity products for customer
« on: October 21, 2019, 06:55:27 AM »
Thank you

25
Support / Re: Office365 login
« on: October 21, 2019, 06:51:34 AM »
Basara, Social login can work with office365?

26
Support / Re: Control the product Serial number
« on: October 21, 2019, 06:49:14 AM »
Thank you very much Basara, that is the extension i am looking for.

27
Support / Re: One order per customer
« on: October 21, 2019, 06:45:05 AM »
What i need is to block customer who orders more than 3 quantity for every product, not per order, Per customer.
I was thinking to block customer to make one order. But its better customer makes orders who they want but restrict only 3 products quantity per each product per all orders. I know is not logical rule but its a requeriment.

I checked exists orders in Cart Controller Hook: storefront/controller/pages/checkout/cart.php:260 line
I did the following change but not working:

Where i can check that?

     
Code: [Select]
      $cart_products = $this->cart->getProducts();

            $product_ids = array();
foreach ($cart_products as $result) {
                $product_ids[] = (int)$result['product_id'];

$query = $this->db->query("SELECT sum(ac_order_products.quantity)
FROM ".$this->db->table('ac_order_products')" INNER JOIN ".$this->db->table('ac_orders'). ON ac_orders.order_id = ac_order_products.order_id"
WHERE o.customer_id = '".(int)$this->config->get('customer_id')."'
AND od.product_id = '".$result['product_id']."')");
if (!$query) {
$error_msg[] = "Could not run query: " . mysql_error();
exit;
}
$row = mysql_fetch_row($query);
if ($row[0] > 3) {
$error_msg[] = "You can buy only 3 units from a product in all your orders ......" .$result['name'];
}

My problem is iam not good in php.
Please help check if this is ok and where i cant get the customer id in cart.php
           

28
Support / Office365 login
« on: October 20, 2019, 09:42:00 PM »
Hi everyone

I know exist an extension for social network login

marketplace.abantecart.com/social_login

but what about office365, can i get customer login by office365?

Thank you a lot

29
Support / Re: How can i setup orders cash or credit
« on: October 20, 2019, 09:38:37 PM »
Hi.

AbanteCart has a built in account balance (store credit) functionality. By default AbanteCart only allows you to manually add credit from the admin.

30
Support / Control the product Serial number
« on: October 19, 2019, 04:48:20 AM »
Is possible to register serial number for every product?
Example i have 10 chairs, but they are CH1, CH2,CH3.

When a costumer make order 1, can we assign the chair CH1 and show that code in invoice.
The customer go to pick up the code CH1.

Thanks a lot.

Pages: 1 [2] 3

Powered by SMFPacks Social Login Mod