Custom width, lenhgt, hight calculated price to sell Blocks

  • Posts: 7
  • Thank you received: 0
8 years 1 month ago #260238

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.6.5

I have the Idea to sell blocks of different Material and Colour where the Client can give his individual Dimensions on the product-page to calculate the price.

I tried your FAQ "How to sell products by Width and Length ?" with my old Hikashop 2.3.4. for testing it, but the Plugin dont do any work. Also tried all other "HikaShopCustom Quantity plugins" I could find here in Forum.

Is ist possible (for me) to do it with the newest Hikashop Version? Or is there an "Produkt-Konfigurator"-Extension to buy? Is there a sample Site where Items are sold by squaremeters ?

Thanks and regards

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
8 years 1 month ago #260254

Hello,

Sure, did you correctly created 2 custom fields from the "Item" table named "width" and "length" through "Hikashop->Display->Custom Fields->'New'" , and published them for the front-end ?

The following user(s) said Thank You: 7-Wind

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
8 years 1 month ago #260308

Hi,

Yes, I did. See screenshots.

(I use this old shop to test this out. Hikashop is 2.3.4)

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26205
  • Thank you received: 4032
  • MODERATOR
8 years 1 month ago #260309

Hi,

Are you using the tax calculation override plugin and the donation plugin ?

If you have several plugins which can override the product price, only the first one will be able to work.
In HikaShop 2.3.4 ; these plugins are based on a override function and just one single plugin can use the function.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: 7-Wind

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
8 years 1 month ago #260400

Thanks so much.
I disabled the tax calculation override plugin and the donation plugin and the HikaShopCustom Quantity plugin works.
I'll try it out now.

Is there a 3-dimension Plugin for Hikashop 3 already available?

regards Hans

Please Log in or Create an account to join the conversation.

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
8 years 1 month ago #260406

Hi,

No, but you could easily modify the code of the 2-dimension plugin to support 3-dimension and then create a third custom field.
Here is the line to change in the plugin:
$quantity = $quantity*$product->length*$product->width;
Even without being a coder, I suppose anyone could guess you would need to replace that by:
$quantity = $quantity*$product->length*$product->width*$product->height;
And that plugin is still compatible with HikaShop 3

The following user(s) said Thank You: 7-Wind

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
8 years 1 month ago #260522

Hi.

Its working.

And shure, I am not a coder and my english is bad, but there is user experience since DOS times and sometimes its easier to ask. Thank you again for your kind answers :)

Please Log in or Create an account to join the conversation.

  • Posts: 174
  • Thank you received: 2
  • Hikashop Business
5 years 1 day ago #316614

I installed and enabled plugin, created custom fields, etc., tax and donation plugins are disabled, but still cant understand how this plugin works. What is the best way to sell products based on dimensions that user inputs? Hikashop should calculate price depending on calculated square meters or cm.

Last edit: 5 years 1 day ago by arnask.

Please Log in or Create an account to join the conversation.

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
5 years 1 day ago #316617

Hi,

Can you confirm that you used this plugin www.hikashop.com/marketplace/product/151...h-length-plugin.html ?
If so, did you follow the setup instructions ?
If so, could you provide screenshots of each thing you setup (custom field options, plugin settings) ?
That should allow us to tell you what you're missing.

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum