Post by datacreek » Sun Nov 04, 2012 11:42 am

I recently responded to a post about this and posted myself and was told to post here for possible help.
Several users are looking for a way to create the "Click for Price" or "Add to Cart" for price function because of certain manufacturers price marketing restrictions.
The sale price cannot be displayed so instead of a price there is a message. The sale price will either pop-up or be added to cart for the customer to see.

I am new to OpenCart and was surprised there was no module for what appeared to be an easy and commonly used mod considering "Discount" almost does what is required.
I was hoping to find either some code help or a simple mod. I know other open source cart communities have a lot of free mods for something this straight-forward so was a little shocked to find help at a price of $99.00.
If anyone can recommend a less costly method I would certainly appreciate it.

(quoted response that lead me here)
Ok this is doable, and very simple to add, all that's required is a new field in the admin product data page, a drop down to select whether you want to show price or not.

Then the product model file is edited to add the new field to the database as well as making a new column in the mysql database table.

The product controller file is also edited where the price function is to either enable or disable the product price and show text instead.

Then finally the template file would be edited to check whether you want to display a price or the text.

I would do this mod for you, but i am currently busy with other projects, if you post in the feature requests, someone will do this mod for you, im sure of it, as its not that hard to make.
Thanks

New member

Posts

Joined
Sat Aug 25, 2012 1:55 pm

Post by datacreek » Thu Nov 08, 2012 1:53 pm

Anyone?

New member

Posts

Joined
Sat Aug 25, 2012 1:55 pm
Who is online

Users browsing this forum: No registered users and 1 guest