How can I remove stock and the social logos

LiteCart Fan
Od Germany
Člen od jan 2023

How can I remove the stock, because almost all my items are made after order, so the stock has no meaning.
But if I set it to zero, the item page says "product sold out".

Also, I would like to remove the social logos and new marker (circled in red in the attached image), as useless to me. How can I get rid of this?

LiteCart Fan
Od Thailand
Člen od aug 2017

Hello,
for "Stock Status":
you can go to admin/translations/search translation then look for title_stock_status and change to what you like, for example: Nice choice!...
For "In Stock":
the same, just look for title_in_stock and write anything you like, for example: We can work on it as soon...
For "new""
the same, just look for sticker_sale or sticker_new and write what you want.
This work around will avoid you to change the code.
Instead, if you want to work and changing the code, let me know, I will see which file to modify.
Bye

LiteCart Fan
Od Thailand
Člen od aug 2017

Ops, I forgot, for the social logos, locate this file:
litecart/includes/templates/default.catalog/views/box_product.inc.php and remove the div of the social button (just search for "social" in the code).
By the way, there in the same file you can also look for the div stock-status and remove it.
REMEMBER: back up the file first, you never know...

LiteCart Fan
Od Germany
Člen od jan 2023

Thank you very much for the help.
Changing these codes has eliminated these problems.
However, I still need to enter an artificial stock level for each item, otherwise it is marked red in the dashboard and cannot be ordered in the frontend. Is there a solution for this, so somehow shut down this "stock function"?

Now I would just like to get rid of this corner "new" at the images, but do not know in which file to look for this text. Just replacing it with another text is not something I would like to do.
The reason is simply that most of my items are not new, but have been in production for years, so "new" would simply be a lie.
I guess that turns mainly to dealers when they take something new in their program.

LiteCart Fan
Od Thailand
Člen od aug 2017

Hi,
in admin/setting/listing you can remove the Display Stock Count but it will still show the status.
What you can do is in litecart/includes/templates/default.catalog/views/box_product.inc.php
locate <div class="stock-status"... and remove the whole div, till the related </div> of <div class="stock-status"...
then for each product in  admin/catalog/Sold Out Statuses remember to allow ordering even if out of stock or just put a huge value in stock so it will never be sold out.
Going back to the stickers, go to Litecart\includes\templates\default.catalog\css\app.min.css and at the end of the file add:
.sticker {display:none}
So the stickers will disappear.
To see the result (well, to not see the stickers) then you must empty the cache and reload or open from a different browser as the file app.min.css is cached.
REMEMBER to back up!

LiteCart Fan
Od Germany
Člen od jan 2023

Hi Vilaiporn,
I have removed the section in box_product.inc.php and it works fine.
In admin/catalog/Sold Out Statuses I allowed sale without stock (see images) but it does not go to order.
In default.catalog\css\app.min.css I have only app.css (without min), is it the same?

LiteCart Fan
Od Thailand
Člen od aug 2017

Hello,
oh, you are on a different version than mine.
I think you have to untick hide from listing and put in quantity a 1000 as value.
About default.catalog\css\app.min.css that you have only app.css, I think is the equivalent in your version.
Just give it a try (backup the file first).

LiteCart Fan
Od Germany
Člen od jan 2023

I have version 2.51
The suggested way with stickers works if I add the sentence to app.css.

With the stock, unfortunately, there seems to be probably no other way than to insert an artificial quantity with each item, otherwise it is simply not orderable. OK, there are worse problems ;).
Thanks again for the help.
[i]kobb khun krab[/i]

LiteCart Fan
Od Thailand
Člen od aug 2017

Mai pen rai ka

tim
Founder
Od Sweden
Člen od máj 2013
tim

For overselling an item that do not have quantities in stock set your sold out status to one that is "orderable".

This thread has been closed due to long inactivity. Posting to it is not possible.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.