PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

 

[MOD] "Special Instructions" Textarea (add a user defined customizeable text to a product)

45 replies to this topic
#1
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5754 posts
This Mod was originally developed as a "Special Instructions" text area for a restaurant's online delivery (http://www.prestasho...ewthread/12550/).

I have re-written it to be compatible with version 1.2, and added detailed instructions on what was changed in each of the 11 files in this mod (file names and line #'s)

You can check it out on my test server http://www.presto-changeo.com/124/

While it can be used as a simple Textarea for the user to enter special instructions or requests, it is a powerful Mod which can be used for a much more complex product customization (especially for those needing multiple attributes and form elements other than select boxes).

A good example can be seen at http://lensesrx.com/shop (which is still in development), if you click "BUY NOW!" on a pair of glasses, you will see a popup for customizing the glasses (lens type, prescription, extras etc..) which at the ends get added to the cart along with the product.

http://www.presto-ch...s-textarea.html

New Version released, it is compatible with PS 1.3, and has new optimized code for PS 1.2

New version just released, includes modified files for PS1.3.2

Attached Files


Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#2
Newest

    PrestaShop Apprentice

  • Members
  • PipPip
  • 101 posts
Sorry, need to understand your module. The $40 is for the special instructions textarea? or for the pop up product order page?

#3
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5754 posts
First of all, it is not a module, but rather a modification to the existing prestashop files.

The Mod for $40 is only for the special instructions, the popup is just an example of what can be done with the special instruction mod.
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#4
kennyh

    PrestaShop Apprentice

  • Members
  • PipPip
  • 171 posts
Hey thanks Tomerg..

Wth your mod I have been able to pass an unlimited amount of checkbox and radiobutton values to the cart.Thourgh the textarea.I have the 1.1 you sent and it works great.I'm sending you an email because I like to purchcase your revised version.

Ken

#5
rocky

    PrestaShop Superstar

  • US Moderators
  • 9988 posts
Topic moved since it is not a free module
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.

#6
Jack

    PrestaShop Apprentice

  • Members
  • PipPip
  • 239 posts
I have used tomerg3 separate tax modification on 1.105. It is very good. Highly recommend for his work...

#7
Yoda

    PrestaShop Apprentice

  • Members
  • PipPip
  • 96 posts
If I purchase the Special Instructions, does it come with the instruction on how to do the pop up?

#8
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5754 posts
The popup is independent of the special instructions.
It is something I have coded for the specific shop, and while is uses the special instruction mod, it required a lot of other changes.
You can contact me for more information about by email.
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#9
termenator

    PrestaShop Apprentice

  • Members
  • PipPip
  • 40 posts
I just saw your textarea box. I am currently want to add a date picker in the product page, the same location you put the textarea. Do you think if your can use your textarea mod and change the value and be able to put the date picker there? Does your mod come with detail instruction about which line for what...., and what the effect is?

#10
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5754 posts

From 1257434360:

I just saw your textarea box. I am currently want to add a date picker in the product page, the same location you put the textarea. Do you think if your can use your textarea mod and change the value and be able to put the date picker there? Does your mod come with detail instruction about which line for what...., and what the effect is?


You can have whatever you want instead of the textarea, in http://www.lensesrx.com/shop I created a popup with many user inputs, and I format/ combine them to one string at the end, and use that as my "special instructions"field.

The documentation file is very detailed, it lists each file changes with the general purpose of that change.
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#11
termenator

    PrestaShop Apprentice

  • Members
  • PipPip
  • 40 posts
And does the instruction include how to make that pop up box too? I am not going after your pop up box, but I want to put a date picker there, the way you put the pop up box. That is why I want to know how you make that pop up box....

#12
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5754 posts

From 1257435699:

And does the instruction include how to make that pop up box too? I am not going after your pop up box, but I want to put a date picker there, the way you put the pop up box. That is why I want to know how you make that pop up box....


You can just view my source code there, it's a simple layer that is shown when you click the buy button, and is hidden when you click the X (or add to cart).

I used AJAX to move between the steps.

I keep the values of the form elements I collect in cookies and at the end I combine them into one string and use it as the value for the "Special Instructions"
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#13
Yoda

    PrestaShop Apprentice

  • Members
  • PipPip
  • 96 posts
I am ready to buy this mod now. One last thing need to sort out, does this mod work on paypal and Google check out?

Thanks.

#14
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5754 posts

From 1258472077:

I am ready to buy this mod now. One last thing need to sort out, does this mod work on paypal and Google check out?

Thanks.


Glad to hear :)

The mod works with paypal, gcheckout and mailalerts (requiring 1-2 line changes).
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#15
yoyo

    PrestaShop Newbie

  • Members
  • Pip
  • 1 posts
I have purchased this special instruction text box and the filter module. They are very easy to install and work wonderfully. Highly recommend for this special instruction text box and the filter module.

#16
Newest

    PrestaShop Apprentice

  • Members
  • PipPip
  • 101 posts
Is your pop up mod for sale? I am interest to buy it. I want the pop up instruction, not just a text box.

#17
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5754 posts

From 1258614837:

Is your pop up mod for sale? I am interest to buy it. I want the pop up instruction, not just a text box.


I'm sorry, the popup was a cutom job, it required many changes to core files (especially to allow for the price impact "on the fly")
I don't think it can be packaged in a Mod since it will require many changes.

If something changes, I'll keep you posted.

If you need something like that soon, contact me and we could talk.
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#18
Yoda

    PrestaShop Apprentice

  • Members
  • PipPip
  • 96 posts

From 1258644798:

From 1258614837:

Is your pop up mod for sale? I am interest to buy it. I want the pop up instruction, not just a text box.


I'm sorry, the popup was a cutom job, it required many changes to core files (especially to allow for the price impact "on the fly")
I don't think it can be packaged in a Mod since it will require many changes.

If something changes, I'll keep you posted.

If you need something like that soon, contact me and we could talk.


I am confused. I am going to purchase this mod today so that I can work on it this weekend. DOES this mod include the pop up instruction? I don't need a text box, I need the pop up. ????

#19
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5754 posts

From 1258649798:

From 1258644798:

From 1258614837:

Is your pop up mod for sale? I am interest to buy it. I want the pop up instruction, not just a text box.


I'm sorry, the popup was a cutom job, it required many changes to core files (especially to allow for the price impact "on the fly")
I don't think it can be packaged in a Mod since it will require many changes.

If something changes, I'll keep you posted.

If you need something like that soon, contact me and we could talk.


I am confused. I am going to purchase this mod today so that I can work on it this weekend. DOES this mod include the pop up instruction? I don't need a text box, I need the pop up. ????


This Mod gives you the option to add a user defined text (String) to each product.
It comes with the text area field which can be used for Special Instructions.
This is the most basic example of how to use this Mod.

Instead of the text area, you can create your own custom text (String) based on your needs.
In the Lenses example, I created a popup with many form elements, at the end of that I aggregate all those form elements into 1 string which I then add to the cart using my Mod.

You don't have to use a popup for that, you can have additional form element in the product page and combine them to one string when you add to cart, and it will be attached to that product.

Let me know if it's still not clear.
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#20
Yoda

    PrestaShop Apprentice

  • Members
  • PipPip
  • 96 posts
Okay. If that is the case, when the pop up is for sale, please keep me post. I will buy the pop box mod.