Search found 11 matches
- Wed Jun 12, 2013 1:56 am
- Forum: Coding Support
- Topic: Comment Textarea in Cart
- Replies: 1
- Views: 11666
Comment Textarea in Cart
Hi, I need the comment textarea, in the cart. Now, the comment field is in the first checkout step (after clicking checkout in the cart), but I need it one step earlier, when the client sees all products in the cart. As now, the comment field content should be stored in the session, so, when the cli...
- Tue Jun 11, 2013 8:30 am
- Forum: General Support
- Topic: Show stock in cart
- Replies: 9
- Views: 14513
Re: Show stock in cart
Ok, with this hint I managed to solve it with a little modification of your suggestion. This is how it worked: ibrary/cart/cart.php, put this in the attribute list at around line 130: 'stock_level' => $product['quantity'], catalog/controller/cart.php, put this in the attribute list at around line 18...
- Mon Jun 10, 2013 4:37 am
- Forum: General Support
- Topic: Show stock in cart
- Replies: 9
- Views: 14513
Re: Show stock in cart
Hi, please read through my answer of Friday. I tried it with $product['stock'] but it outputs nothing. Then I tried <?php var_dump($product['stock']); ?> and it outputs "boolean false" or "boolean true", depending on the the difference between selected number and on hand stock. But it doesn´t output...
- Mon Jun 10, 2013 12:09 am
- Forum: General Support
- Topic: Show stock in cart
- Replies: 9
- Views: 14513
Re: Show stock in cart
Hi,
please do not ask, if it makes sense or not, the client is king
Is there a way to implement this?
As I described above I tried it via the cart controller but I can not find out, which attribute shows the on hand stock.
please do not ask, if it makes sense or not, the client is king
Is there a way to implement this?
As I described above I tried it via the cart controller but I can not find out, which attribute shows the on hand stock.
- Mon Jun 10, 2013 12:07 am
- Forum: General Support
- Topic: own article attributes
- Replies: 6
- Views: 9764
Re: own article attributes
Ok, Thanks, i will give it a try!
- Fri Jun 07, 2013 8:59 am
- Forum: General Support
- Topic: Show stock in cart
- Replies: 9
- Views: 14513
Re: Show stock in cart
In the meantime I tried to compare the controller and view of the category with the controller and category of the cart because in the category the on hand stock is shown correclty. In the category controller (catalog/ctonroller/caegory.php) is this code: 'stock_level' => $result['quantity'], and wh...
- Fri Jun 07, 2013 5:17 am
- Forum: General Support
- Topic: own article attributes
- Replies: 6
- Views: 9764
Re: own article attributes
Yes, that´s right. But this is only an example. I have about 8 different attributes which I have to administer and filter. So is there way to extend the prdouct with some more fields and extend the filter?
- Fri Jun 07, 2013 5:07 am
- Forum: General Support
- Topic: Show stock in cart
- Replies: 9
- Views: 14513
Re: Show stock in cart
Unfortunately the stock isn´t shown in the cart.
Here are some pics of my settings, the category view, where the on hand stock is shown and the cart, without this info:
http://imageshack.us/g/707/cartrs.png/
Here are some pics of my settings, the category view, where the on hand stock is shown and the cart, without this info:
http://imageshack.us/g/707/cartrs.png/
- Fri Jun 07, 2013 3:28 am
- Forum: General Support
- Topic: Show stock in cart
- Replies: 9
- Views: 14513
Show stock in cart
Hi, I try to show the stock level of each product in the cart. I checked the file catalog/controller/cart.php and there is a line in the product_data array: 'stock' => $result['stock'], So I tried to change the file template/default/content/cart.tpl and copy the line for the minimum quantity, which ...
- Fri Jun 07, 2013 3:22 am
- Forum: General Support
- Topic: own article attributes
- Replies: 6
- Views: 9764
Re: own article attributes
Hi, I tried to explain in Point 1. So the client want to have additional fields in the administration of the product. for example: an additional field for manufacturer article id and one additional field for a product classification. These fields should be shown in the category view of the products ...