Show Posts


Messages - bs135

Pages: [1] 2
1
Support / My site got an error message
« on: August 12, 2013, 01:20:41 AM »
This error massage is

Quote
Message status:   critical

Date:   2013-07-30 22:21:33

Number of repetitions:   2

Error: Error in data of page with controller: 'pages/product/product'. Please check for key_value present where key_param was set

Currently, the site is operating normally.
Just, is that error serious?

Thank you.

2
General Support / Re: how to edit a Sub menu?
« on: July 17, 2012, 06:50:32 AM »
thank you

3
General Support / Re: how to edit a Sub menu?
« on: July 16, 2012, 02:30:37 AM »
 Thank you very much.

And addition, how to create a menu with extern link?

4
General Support / how to edit a Sub menu?
« on: July 14, 2012, 05:21:39 AM »
I just add a Sub-menu.
Design -> Menu -> Insert ...
I set new menu is a submenu (Parent not --None--)
That submenu have appeared on store front.

But in admin I can't to find it for editting.

5
General Support / Re: "Subtract Stock" not working..
« on: July 14, 2012, 05:06:58 AM »
thank you very much

6
General Support / Re: "Subtract Stock" not working..
« on: June 27, 2012, 08:19:05 PM »
I checked with a product with some options. It work. The quantity of the kind of this product decreased after order confirm.

But a product without option, the Total quantity of this product not decreased after order confirm.
Please show me how to setup that feature.

7
General Support / Re: "Subtract Stock" not working..
« on: June 23, 2012, 09:13:23 PM »
I checked with a product with some options. It work. The quantity of the kind of this product decreased after order confirm.

But a product without option, the Total quantity of this product not decreased after order confirm.
Please show me how to setup that feature.

I saw the code in same model file, line 215:
This code checked 'subtract' value in database table 'ac_order_products' to Subtract the quantity in table 'ac_products'.
But I viewed my database, value of field 'subtract' is '0' in table 'ac_order_products', and is '1' in table 'ac_products'.

Code: [Select]
$order_product_query = $this->db->query("SELECT *
FROM " . DB_PREFIX . "order_products
WHERE order_id = '" . (int)$order_id . "'");

foreach ($order_product_query->rows as $product) {
if ($product['subtract']) {
$this->db->query("UPDATE " . DB_PREFIX . "products
SET quantity = (quantity - " . (int)$product['quantity'] . ")
WHERE product_id = '" . (int)$product['product_id'] . "'");
}

8
General Support / Re: "Subtract Stock" not working..
« on: June 23, 2012, 05:40:57 AM »
My quantity in product option is not decreased after order confirm.  :(

I view my database, table 'ac_products', value of field 'subtract' is '1' for all products.
But in table 'ac_order_products', value of field 'subtract' is '0' for all products.

And in file \storefront\model\checkout\order.php - line 150:
Why hasn't it update 'subtract' value for 'ac_order_products'.
Code: [Select]
foreach ($data['products'] as $product) {
$this->db->query("INSERT INTO " . DB_PREFIX . "order_products
SET order_id = '" . (int)$order_id . "',
product_id = '" . (int)$product['product_id'] . "',
name = '" . $this->db->escape($product['name']) . "',
model = '" . $this->db->escape($product['model']) . "',
price = '" . (float)$product['price'] . "',
total = '" . (float)$product['total'] . "',
tax = '" . (float)$product['tax'] . "',
quantity = '" . (int)$product['quantity'] . "'");


Please help me.?

9
General Support / Re: "Subtract Stock" not working..
« on: June 22, 2012, 03:21:00 AM »
It's not automatically decrease the quantity after ordering.
Please help me.

10
General Support / Re: "Subtract Stock" not working..
« on: June 20, 2012, 09:11:53 AM »
I fixed but it's still the same.
I mean, after ordering, the quantity of products has not been subtracted in the total.

11
General Support / "Subtract Stock" not working..
« on: June 20, 2012, 04:07:44 AM »
In manual: Admin User Manual > Catalog menu > Products  > Options Tab
Quote
Subtract Stock: If the "Subtract Stock" dropdown is enabled AbanteCart will automatically decrease the quantity you have left from this product according to the quantity ordered. This is usually set to Yes unless you have unlimited quantity of this product or the product is a service you offer.

I set "Subtract Stock" is "Yes".  But when a order is completely, the product quantity is not change. I use AbanteCart 1.0.2.

Please help me..

Thanks

12
General Discussion / Add new Location.?
« on: June 18, 2012, 12:48:50 AM »
In Localization -> Locations -> add new Location

I want to add a Location of country with all zone. How?
What does it mean, if I chose country, and chose zone is none?

13
General Support / Re: Can't confirm order
« on: June 08, 2012, 12:37:35 AM »
I use firebug, I get 1 error, and this show:



14
General Support / Re: critical - class not exist
« on: June 07, 2012, 10:53:31 PM »
That message appears after I installed template2.
I only access home page and get this message.
Storefront operate normally with new template.

15
General Support / critical - class not exist
« on: June 06, 2012, 09:27:31 PM »
I get this bug:
Error: Could not load controller ! in /core/engine/dispatcher.php on line 165

Pages: [1] 2

Powered by SMFPacks Social Login Mod