Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Hiding Inventory Quantities
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Shamoo
Starting Member

USA
8 Posts

Posted - January 06 2022 :  13:38:31  Show Profile  Reply with Quote
Hi-

We want to exclude the "Stock" field and associated inventory qty from product listings- how can we do this?

It''s possible I''m missing a checkbox or dropdown somewhere, but I can''t find anything on the item page in Product Setup that will allow me to do this. I wanted to attach a screenshot here but can''t figure out how to do that.

We''re on VP Deluxe 8.1.0.2 and I want to do this on Parent items. We have some templates made to exclude Stock already, but it also gets rid of some things I want to keep. Our Child items already exclude the field I don''t want, but our Parents show it.

Thank you!

diegomilito
VP-CART Expert

Argentina
774 Posts

Posted - January 06 2022 :  20:46:52  Show Profile  Reply with Quote
can you show me your link?? i coulnt imagine the stock field that you''ve described here.
diego
Go to Top of Page

Shamoo
Starting Member

USA
8 Posts

Posted - January 07 2022 :  09:33:19  Show Profile  Reply with Quote
quote:
Originally posted by diegomilito

can you show me your link?? i coulnt imagine the stock field that you''ve described here.
diego


Hi Diego, here is a link to a product page I''m working with *URL redacted- problem solved*. I''d like to omit the Stock entry in the buybox. Thank you!

Edited by - Shamoo on January 17 2022 16:27:39
Go to Top of Page

diegomilito
VP-CART Expert

Argentina
774 Posts

Posted - January 10 2022 :  19:19:55  Show Profile  Reply with Quote
Shamoo, do you want to remove the Stock 498??
you will need to find out which template is used for the product, as i have limited access to check your admin settings, i dont know what template is used,,
you can check in the edit product for which template is used, or check in configuration settings.

diego
Go to Top of Page

Shamoo
Starting Member

USA
8 Posts

Posted - January 10 2022 :  21:14:09  Show Profile  Reply with Quote
Yes the Stock 498 is what I hope to remove- many of our parent items have this field displayed in listings. We’re moving toward using more Parent/Child relationships so we’d like to improve how these listings look. Do you happen to know what portion of code in the templates I should be looking for? I am pretty new to that portion of VPASP.
Go to Top of Page

diegomilito
VP-CART Expert

Argentina
774 Posts

Posted - January 12 2022 :  00:56:32  Show Profile  Reply with Quote
maybe try to find out if anything in the template you use have this

$ <span class="productinfolabel">[getlang langproductstock]</span><span class="productinfodetails">[cstock]</span><div class="cb"></div>

And just remove entire line.
tell me if it is working???
diego
Go to Top of Page

Shamoo
Starting Member

USA
8 Posts

Posted - January 17 2022 :  16:26:11  Show Profile  Reply with Quote
Thank you Diego! That''s exactly what I needed, and the fix worked great.
Go to Top of Page

diegomilito
VP-CART Expert

Argentina
774 Posts

Posted - January 18 2022 :  23:54:59  Show Profile  Reply with Quote
nice!!! good news.
diego
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00