Post by frasergoconsultme » Mon Mar 20, 2023 7:11 pm

I want to add an additional text description such as "per carton" after the price for a product (in both the category and product views). Prices are set to only show when a user is logged in. Have look at various options, but they all appear to be based on OC 1.x or 2.x. Cant find anything for 3.x. Did find a free extension in marketplace, but when i installed that it crashed the front end (it also wasn't exactly what i needed).
Last edited by frasergoconsultme on Fri Jun 30, 2023 6:30 pm, edited 1 time in total.

Newbie - OC 3.0.3.8 sites


New member

Posts

Joined
Sun Feb 12, 2023 4:36 am

Post by by mona » Tue Mar 21, 2023 6:05 am

Presumably you mean per product, not standard text - for that you will need an extension. I did not find one for OC3 either, so I created one :
https://www.opencart.com/index.php?rout ... n_id=44822

It works with Opencart, ie. for example If your admin setting is to only show price if the user is logged in, it will only show if the user is logged in.

If you want something more complex you might be better posting in the commercial section viewforum.php?f=88 to get that done as a custom job.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by frasergoconsultme » Fri Jun 30, 2023 6:30 pm

Solved...got @opencartbot to do an ocmod :-)

Newbie - OC 3.0.3.8 sites


New member

Posts

Joined
Sun Feb 12, 2023 4:36 am
Who is online

Users browsing this forum: No registered users and 46 guests