Page 1 of 1

How to do a custom product price request?

Posted: Fri May 15, 2015 2:24 pm
by virtualgeorge
Not sure where to post this but looking for advice on the best way to do this?

I am creating a site and one of the products is truck grilles:
http://virtualgeorge.info/ocart/2004-20 ... ED-Version

I am just going to have each product a specific style & color but if they want to customize then that would be a special request and they would have to submit their requirements to me and then I email back a custom price quote.

So I can create a product like this with all the available options:
http://virtualgeorge.info/ocart/Custom-LED-Grille

What would be the best way for them to send me this info so they don't have to go through the checkout process?
I figured I should just create a form with all those options and they would just need to provide their name & email.
But I usually don't create forms in opencart so not even sure how to do that. Like in my wordpress sites where I have tons of plugins for creating custom forms.

Ideally what I would like to do is have a link on each product page that says "custom grill options available", then when they click that it would take them to a email/contact form with the available options and populate a field with the product id or model# of the page/product they were viewing. Of thats not easily done I would just have drop down options for make/model/year.

I see some contact form mods where you can ask a question about that specific product so I assume they pass along the product info and maybe one of those would work if I could add all my options to the form.

Any suggestions?

thanks!!

Re: How to do a custom product price request?

Posted: Sat May 16, 2015 2:35 am
by IP_CAM
only free stuff found, adaptable, at least:
http://www.opencart.com/index.php?route ... n_id=15619
http://www.opencart.com/index.php?route ... n_id=21731

possibly used in combination, by setting price of items tio zero:
http://www.opencart.com/index.php?route ... n_id=20557

possibly used in combination, by placing a nice info sign to it:
http://www.opencart.com/index.php?route ... n_id=15474

or then, search in the PAID MOD's Sections:
http://www.opencart.com/index.php?route ... or%20quote
http://www.opencart.com/index.php?route ... st%20quote
http://www.opencart.com/index.php?route ... or%20price

Good Luck
Ernie
bigmax.ch/os/

Re: How to do a custom product price request?

Posted: Sat May 16, 2015 11:34 am
by IP_CAM
Update:

Just found this, it works, at least with the DEFAULT Theme! PARTLY, anyway, in the RUSH!!
A SUB and a FILE is missing, it's the template/mail/make_offer.tpl, and, as a consequence of this, eMails in HTML Format will JUST contain lot's of error messages, due to missing definitions.

To make it work, at least, I just copied the content of the MODULE Section of the ZIP into the MAIL Subdirectory.
Therefore, it NOT completly ready, as it comes, but, at least, it's a start, to get it done. I contacted
http://www.fido-x.net/
in order to inform them about the missing part.

http://www.fido-x.net/index.php?route=p ... duct_id=78

I found some difficulties, if I use my 'adefault2' Theme, in this section:

Code: Select all

<file name="catalog/view/theme/*/template/product/product.tpl">
with the:
<?php } ?>

Code: Select all

<search position="before" index="1"><![CDATA[
<?php if ($review_status) { ?>
]]></search>
<add><![CDATA[
<?php } ?>
]]></add>
meaning, that it WILL NOT function with any Theme.
But it's my Theme Problem, I will find, and fix it, whenever I have time to look for.
By USE OF OC DEFAULT THEME, it works well. At least, up to the last faulty page, when viewing HTML eMails.

So much to this! At the Moment ;)
Ernie
bigmax.ch/os/

Re: How to do a custom product price request?

Posted: Sat May 16, 2015 11:52 am
by virtualgeorge
Thanks Ernie, I need a form with some option drop downs so I am creating my own. Some of those mods you recommended would almost work as you could create custom fields on the form but they were only text inputs.

I don't know how to pass along the model# if clicking a link from a product page, that would be good so I will prob pay a dev to help with that and I will share it if I can get it done.

thanks!

Re: How to do a custom product price request?

Posted: Sat May 16, 2015 12:46 pm
by fido-x
Thanks for letting me know. I've added in the missing file, so emails should work properly. I've also fixed the issue with the vQmod .xml file that IP_CAM mentioned.

Re: How to do a custom product price request?

Posted: Sat May 16, 2015 5:47 pm
by IP_CAM
@fido-x: This is, what I call Super!

I figured, I would find the answers in the older version Mod, but I was just too tired,
after spending the night in front of the screen again...

That 'cid:', I do not yet understand, the LOGO Image is enclosed, as attachement, in the Mail, but not reproduced.
See the image below!

Code: Select all

<img src="cid:openshop_logo.png" alt="Ernie's BigMax Test Shop" style="border: none;" ></a>
Thanks a lot! :D
Ernie

Re: How to do a custom product price request?

Posted: Sun May 17, 2015 10:02 am
by fido-x
IP_CAM wrote:That 'cid:', I do not yet understand, the LOGO Image is enclosed, as attachement, in the Mail, but not reproduced.
Quite often, when building a module, you "copy and paste" code from somewhere else that does the same thing (hey, no purpose in re-inventing the wheel). Don't know why that was there myself, other than that was the method used for adding the logo to an email in the version of OpenCart that this module was originally built for (long time ago).

I've fixed it up now. Thanks for your input.

Re: How to do a custom product price request?

Posted: Mon May 18, 2015 5:22 am
by IP_CAM
Great Job, thanks a lot!
Ernie