Automatic price calculation based on size and width

28.08.2025 10:04
#1
admotionlachen
Joomshopping forum user no avatar
Name: Pascal
23.08.2018
Сообщения: 123
Quote
Automatic price calculation based on size and width

Hello

I am looking for a solution where I can manually enter the width and height of my products and the price is then calculated automatically. Is this possible with Joomshopping?

Here is an example, but this website is not ours and was not created with Joomshopping. It only concerns the price calculation function.
https://creasteel.ch/collections/hochbeete-pflanzentopfe/products/hochbeet-pulverlack?_atid=X4o4rkTqi9aSSVYDyDx5i9Sks8xfac

I look forward to receiving your feedback.
Kind regards,
Colette


Joomla: 5.3.3
 
28.08.2025 11:45
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 28003
Quote
Aw: Automatic price calculation based on size and width

https://www.webdesigner-profi.de/joomla-webdesign/shop/plugins/free-attribute-calculate-price.html

 
17.10.2025 13:52
#3
admotionlachen
Joomshopping forum user no avatar
Name: Pascal
23.08.2018
Сообщения: 123
Quote
Aw: Automatic price calculation based on size and width

Hello,

Thank you for your reply. That works perfectly. Is it possible to calculate the weight in the same way and display it directly, or does this require a different extension? Width x height x depth = price, but also width x height x depth = weight.

Regards
Colette

 
17.10.2025 15:08
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 28003
Quote
Aw: Automatic price calculation based on size and width

There is no such option at the moment.
I will answer later (I will look at the code) - is it possible to add

 
18.10.2025 11:27
#5
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 28003
Quote
Aw: Automatic price calculation based on size and width

plugins\jshoppingproducts\free_attribute_calcule_price\free_attribute_calcule_price.php

public function onBeforeDisplayAjaxAttrib(&$rows, &$product){

after row 159:
$rows["jshop_facp_errors"] = $errors;

Add code:
if ($qty) {
$rows["weight"] = Helper::formatweight($qty);
}

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.