ITEM_NOT_SOLD_ANYMORE

  • Posts: 26
  • Thank you received: 0
11 years 11 months ago #124183

Hi
how can I insert into "product display" means "HikaShop Product Insert Plugin", the ITEM_NOT_SOLD_ANYMORE label when product quantity is sold out?
See the attached image.

Attachments:

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

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

Hi,

The screenshot display a product listing, the view which display the quantities of the products is "product / quantity", you can edit it via the menu Display > Views.

When the quantity is equal to 0, so display the label.

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

  • Posts: 26
  • Thank you received: 0
11 years 11 months ago #124424

Hi,
honestly I don't understand very well how to modify this file.
The product details displays in attached files is made by a "plugin-code" like this:
"{"product"}"5|name|cart|quantityfield|link|border|pricedis3|pricetax1"{"/product"}"
If I click to corrispondent product page and the quantity is = 0 appears correctly the label "the product is no longer available" but only into the Product Page and not before.
I hope I explained correctly.
Many Thanks
Guy

Last edit: 11 years 11 months ago by giuseppe.

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
11 years 11 months ago #124500

Hi,

Do you have an example where the product quantity is 0 and the product is not display correctly with the "product insert" ?
In your screenshot, the products' quantities are "48".

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.

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

  • Posts: 26
  • Thank you received: 0
11 years 11 months ago #124533

Hi,
in this page:
www.cavetti-acciaio.it/arte/mostre/leonardo-a-milano
the first product have quantity=0 and no message is displayed, instead the second product is "out of time" and no more available and the appears message "product is no longer available".
How do I display the same message for the first product (quantity = 0)?
Many many Thanks!!!
Guy

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

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

Hi,

I was thinking that it was a product listing and not a view created with the plugin tags.
In your case the best way is to use a HikaShop product listing I guess, this should be easiest.

Else you will have to edit the plugin "hikashop product insert' and the file "hikashopproductinsert_view.php".

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

  • Posts: 26
  • Thank you received: 0
11 years 11 months ago #124830

Thanks!
where can I find this file to edit?
Many thanks
Guy

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

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

The file should be in "plugins\system\hikashopproductinsert\hikashopproductinsert_view.php".

The following user(s) said Thank You: giuseppe

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

  • Posts: 26
  • Thank you received: 0
11 years 11 months ago #125052

Perfect!!
Thanks!!!
Guy

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

Time to create page: 0.077 seconds
Powered by Kunena Forum