- Posts: 45
- Thank you received: 3
Price per Square Meters
- bytekultur
-
Topic Author
- Offline
Less
More
13 years 4 months ago #104347
by bytekultur
Price per Square Meters was created by bytekultur
Hello
I have a small question... a customer of us sells parquet in packages - each package can have an other square meters size (like 3.71 or 4.5)
No i made a new filed where can be definiend how much square meters is in one product. i also have a field where he can check if the product is calculated in square meters...
this works pretty fine. my wish would no be that the customer of the shop can say he needs 20 square meters and the system then now would calculate how many packages he needs...
how (respectively where (in which file)) can i make en input field above the cart so the shop customer can add hes wished square meters...
i then also have to calculate the amount of packeges for the cart - but that next problem i'll try first by myself
for any tipps i'm very thankfull
ah > it would be very nice if i could work with the "views" in hikashop - i would like to try not to make changes in the core of hika so updates should be no problems in future...
all the best,
Maya
I have a small question... a customer of us sells parquet in packages - each package can have an other square meters size (like 3.71 or 4.5)
No i made a new filed where can be definiend how much square meters is in one product. i also have a field where he can check if the product is calculated in square meters...
this works pretty fine. my wish would no be that the customer of the shop can say he needs 20 square meters and the system then now would calculate how many packages he needs...
how (respectively where (in which file)) can i make en input field above the cart so the shop customer can add hes wished square meters...
i then also have to calculate the amount of packeges for the cart - but that next problem i'll try first by myself
for any tipps i'm very thankfull
ah > it would be very nice if i could work with the "views" in hikashop - i would like to try not to make changes in the core of hika so updates should be no problems in future...
all the best,
Maya
Please Log in or Create an account to join the conversation.
13 years 4 months ago #104349
by nicolas
Replied by nicolas on topic Price per Square Meters
Hi,
You could add a second custom item field for the package calculation field . Then, in the file "show_block_custom_item" via the menu Display->Views, you could add javascript to calculate automatically the quantity of the product based on the value entered in that new custom field.
That way, you will have only one product lin on the cart with the quantity corresponding to the number of packages necessary and the total size requested.
You could add a second custom item field for the package calculation field . Then, in the file "show_block_custom_item" via the menu Display->Views, you could add javascript to calculate automatically the quantity of the product based on the value entered in that new custom field.
That way, you will have only one product lin on the cart with the quantity corresponding to the number of packages necessary and the total size requested.
The following user(s) said Thank You: bytekultur
Please Log in or Create an account to join the conversation.
- bytekultur
-
Topic Author
- Offline
Less
More
- Posts: 45
- Thank you received: 3
13 years 4 months ago #104356
by bytekultur
Replied by bytekultur on topic Price per Square Meters
But as i see i don't have an input field for choose - would not be a big problem, i could change that in the view... but maybe you have a better idea?
Please Log in or Create an account to join the conversation.
- bytekultur
-
Topic Author
- Offline
Less
More
- Posts: 45
- Thank you received: 3
13 years 4 months ago #104360
by bytekultur
Replied by bytekultur on topic Price per Square Meters
and another small question - sometimes my changes in the views are not shown; i cleard all chaces - how can that be (i work in the right template and in the frontend view)?
Please Log in or Create an account to join the conversation.
13 years 4 months ago #104364
by nicolas
Replied by nicolas on topic Price per Square Meters
I didn't understand your first question.
Regarding your second point, I don't see any reason for that.
Regarding your second point, I don't see any reason for that.
Please Log in or Create an account to join the conversation.
Time to create page: 0.172 seconds