Product Price in €/mq, how it is possible?

  • Posts: 22
  • Thank you received: 1
11 years 7 months ago #127740

I have to include an article (Banner) for which the price is to be calculated in square meter. it is possible with hikashop?

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

  • Posts: 83777
  • Thank you received: 13561
  • MODERATOR
11 years 7 months ago #127771

Hi,

It's possible with two custom item fields (business edition only) called "width" and "length" and that plugin:

File Attachment:

File Name: hdb118b2.zip
File Size:1 KB

Attachments:

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

  • Posts: 22
  • Thank you received: 1
11 years 6 months ago #128449

I would that the customer can edit the two custom item fileds to define the dimension of the banner.
I think that for this scope I have to enable the custom fields visualization in the HikaShop Global Configuration menù.
I have activated the flag, but in the product module I don't see this two items.
Which is the problem?
For Your Information, When I add a new product the two fields are present and I can edit without problems.

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

  • Posts: 83777
  • Thank you received: 13561
  • MODERATOR
11 years 6 months ago #128475

Can you provide screenshots of the options page of the custom fields so that we can see what you did ?

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

  • Posts: 22
  • Thank you received: 1
11 years 6 months ago #129136

In the attached file, you can see how I defined the parameter that indicates the MQ square meters. Next, I proceeded to amend the plugin files you sent me, creating a new plugin that calculates the final price like products between the price expressed in € / sq m and the value contained in the MQ. The calculation is performed correctly. The problem I have is that the MQ field is visible but not editable in the front end, while my requirement is that: the customer can decide on the purchase phase (a) the size in square meters of bunner, (b a) the number of bunner be included in the shopping cart. I would like to know if the optional fields can be configured to be able to be edited by the customer on the front end.



File Attachment:

File Name: hbf8bb54.zip
File Size:1 KB

Attachments:

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

  • Posts: 83777
  • Thank you received: 13561
  • MODERATOR
11 years 6 months ago #129161

As I said earlier in this thread, you need to create custom fields of the table "item", not of the table "product". That's why you can't edit them on the product page.

The following user(s) said Thank You: valeriogiampa

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

  • Posts: 22
  • Thank you received: 1
11 years 6 months ago #129769

It is correct your last correction.
In the product that you can see at the link www.multigraficastampa.it/index.php/hika...oni-personalizzabili , there is two custom item filed called width and lenght as your instruction.
Your plugin is installed correctly.
The two filed can be edited by the users but the price (each price and cart price of the product) do not change.
Do you have suggestion for it?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #129852

Hi,

Do you have another plugin using the function:
hikashop_product_price_for_quantity_in_cart() ?

The following user(s) said Thank You: valeriogiampa

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

  • Posts: 22
  • Thank you received: 1
11 years 6 months ago #130127

Can you send me it?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #130216

Hi,

I have nothing to send ;)
I was just asking if you were using another plugin based on this same function, because if the plugin that this function is already used, so it does nothing, and that could explain that it is not working in your case.

The following user(s) said Thank You: valeriogiampa

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

  • Posts: 22
  • Thank you received: 1
11 years 6 months ago #131255

there is only a plugin called HikaShopCustom Quantity plugin. I think that only this plugin have the function hikashop_product_price_for_quantity_in_cart().
I don't know if the basic installation of the Hikashop Business has other function like this.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #131320

Hi,

Is that plugin published ?

Thanks to try to unpublish the plugins:
- custom price
- custom quantity
- custom quantity tax
- custom quantity weight
- custom quantity width lenght
- custom quantity width length weight
- deposit

If you have them, and any of them is published.

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

  • Posts: 4
  • Thank you received: 0
10 years 10 months ago #162367

I am using to plugin to custom Quantity plugin - the attached. The width_length plugin are the one you have her en forum - the _length is a moderation of one i fint her i forum. The works one of time but if I enable the both its only one of them is working. The one with the lowest ID.

how can it be solved?

One is for price pr. square meter - the _length is for price pr. meter.

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
10 years 10 months ago #162370

Hello,
The solution will probably be to only use one of these plugins OR edit one of these 2 plugins to do exactly what you want to do which will require some development skills.

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

Time to create page: 0.127 seconds
Powered by Kunena Forum