The 'request mode' (nice name b the way) is it. It takes the min-value from table item and set it as quantity.
If you look into show_item*, you'll see it.
Otherwise it should NOT be possible to change quantity. This seems to be a bug (I think in view_cart.php?).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think show_item* include the form post method reference to main.php. In main.php from line 4 to 6 the item will be added to cart. Reference to add_item(...) declared in cart.php. Maybe i add some if else function to verify which mode phPay is running.
Am i right ?
Thanks.
Sven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
2. I think i am missing some feature. In general configuration (admin area) you can define how many
articles can be stored to cart or request list.
I did not find any option to disable this function,
because i do not use the stock values for
public and maybe some other users also.
So i can set the value e.g. > 2,000,000 but
would not it be better to include a boolean var
in the admin area to switch this funtion ?
You have to modify only cart.php,/admin/setup.php, and install script for sql (and of course language files) and add a boolean field to database.
I am willing to include these changes. Is there an CVS system with actual patches and so on where i can do my changes ?
Thanks a lot for your work and answer.
Sven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
when i try to add more than one article to my list,
e.g. 25 pieces, after that only 1 pieces is listed on
the request list.
configuration in admin section--articles:
price = 0.00 EUR
price = 0.00 USD
value with VAT is off
min is set to 1 pieces
order 0
visible true
in stock 0
remember phPay is not running as shop
only in request mode
Thanks a lot
Sven
The 'request mode' (nice name b the way) is it. It takes the min-value from table item and set it as quantity.
If you look into show_item*, you'll see it.
Otherwise it should NOT be possible to change quantity. This seems to be a bug (I think in view_cart.php?).
Hello,
i studied the source.
I think show_item* include the form post method reference to main.php. In main.php from line 4 to 6 the item will be added to cart. Reference to add_item(...) declared in cart.php. Maybe i add some if else function to verify which mode phPay is running.
Am i right ?
Thanks.
Sven
1. There is no bug.
2. I think i am missing some feature. In general configuration (admin area) you can define how many
articles can be stored to cart or request list.
I did not find any option to disable this function,
because i do not use the stock values for
public and maybe some other users also.
So i can set the value e.g. > 2,000,000 but
would not it be better to include a boolean var
in the admin area to switch this funtion ?
You have to modify only cart.php,/admin/setup.php, and install script for sql (and of course language files) and add a boolean field to database.
I am willing to include these changes. Is there an CVS system with actual patches and so on where i can do my changes ?
Thanks a lot for your work and answer.
Sven
Re: 2.) Maybe but then there should be both ;-) If boolean is TRUE existing var should be used. Only TRUE or FALSE is not enough.
If you have modified the files you can post them here in patch-area. A CVS-system I don't use (yet;-)
Greetings.