Hide price if zero. Zero stock. Contact button.

disclaimer: i am not a professional coder. 

this is a very simple mod. 
how to install:

edit:
public_html/cart/includes/templates/default.catalog/views/box_product.inc.php

find:
see download for code

add after it:
see download for code

find:
see download for code

add after it:
see download for code

save and finish.

[hr]

other simple options: (zero stock mod)
further options\info can be manipulated by using the standard litecart function.
in the admin > catalog > Sold Out Statuses (Create New Sold Out Status)
and Translations > Search Translations (change text to suit)

button prefill data example: (takes product name as subject)
['subject' => $name]

[hr]

thank you to those who helped with this, forum ref linked below:

https://www.litecart.net/en/forums/2/general-discussions/18912/hide-price-when-0-and-replace-with-contact-form

https://www.litecart.net/en/forums/5/feature-requests-and-new-ideas/19836/link-to-contact-page-with-subject-of-product-name-or-id


แท็ก: zero stock, zero price, $0, contact us, button

ดาวน์โหลด

[+] เวอร์ชั่น 2023-10-25 | อัปโหลด 25 Oct 2023 โดย mmwfrank

This update features a vMod installation (Special thanks to @jackmaessen for his help: https://www.litecart.net/en/addons/594/hide-price-if-zero-0-mod-zero-0-stock-contact-button/topics/20232/i-could-use-some-help-with-a-vmod-problem#20283

รุ่นที่เข้ากันได้: LiteCart 2.5.4
แพคเกจอาจเข้ากันได้กับรุ่นมากกว่าที่ระบุไว้ ติดต่อผู้เขียนสำหรับข้อมูลเพิ่มเติม

[+] เวอร์ชั่น 2023-10-18 | อัปโหลด 18 Oct 2023 โดย mmwfrank

This is a remix of zara's project, adding removal of the zero price on the category thumbnails page, and converting the text file into modified files to upload.

I wanted to make this a vMod add-on, but haven't figured out what I'm doing wrong with that yet, so I'm just putting up this version up with the modified files. I hope to soon have the vMod version working, and I'll post it at that time.

รุ่นที่เข้ากันได้: LiteCart 2.5.4
แพคเกจอาจเข้ากันได้กับรุ่นมากกว่าที่ระบุไว้ ติดต่อผู้เขียนสำหรับข้อมูลเพิ่มเติม

[+] เวอร์ชั่น 2023-09-05 | อัปโหลด 5 Sep 2023 โดย zara

text file. install info.

รุ่นที่เข้ากันได้: LiteCart 2.5.2
แพคเกจอาจเข้ากันได้กับรุ่นมากกว่าที่ระบุไว้ ติดต่อผู้เขียนสำหรับข้อมูลเพิ่มเติม

โดเมนสาธารณะ

ส่วนเสริมได้รับความอนุเคราะห์จากสาธารณสมบัติ

มีการเสนอส่วนเสริมนี้โดยไม่มีการสนับสนุนหรือเงื่อนไขการใช้งาน ทุกคนสามารถเผยแพร่การอัปเดตใหม่ได้ คุณได้รับอนุญาตให้รีมิกซ์และแจกจ่ายส่วนเสริมนี้ซ้ำโดยไม่ต้องระบุแหล่งที่มาของผู้เขียนดั้งเดิม

เผยแพร่โดย zara

ฟอรั่มการสนับสนุน

หัวข้อ โพสต์ล่าสุด
I could use some help with a vMod p...
โดย mmwfrank
25 ต.ค. 2023 21:49
โดย mmwfrank
Make it as addon
โดย dodo
26 ก.ย. 2023 11:34
โดย dodo
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.