Jump to content
tinybibiya

Remove Save Button of Customization Field

Recommended Posts

Hi,
 
I tried doing this tutorial but it seems not to work. 
 
http://nemops.com/save-prestashop-custom-fields-add-to-cart/#.Vc6Wy_mqqko
 
My version is 1.6.0.14.
I am using a custom theme from themeforest (http://panda.sunnytoo.com/en/)
Attach is my modified files under:
 
themes/panda/js/modules/blockcart/ajax-cart.js
controllers/front/ProductController.php
js/tools.js

 

Also this might give a clue?

/themes/panda/product.tpl (modified to bring the textfield from tabs to below add to cart)

I just need textfield. No need upload file portion.

Can someone help?

ProductController_custom_field.php

ajax-cart_tools.zip

product.zip

Share this post


Link to post
Share on other sites

Could you link your site directly? Where is it breaking exactly?

Share this post


Link to post
Share on other sites

So where was it failing exactly? Were you getting any ajax error upon adding it to the cart?

  • Like 1

Share this post


Link to post
Share on other sites

Hi,

 

After adding some text then click add to cart, the same warning pop out saying please fill in text field. Is the same as b4 modifying.

Share this post


Link to post
Share on other sites

Found a solution to this issue. Now I can direct add to cart with custom text field.

 

Instead of editing the files mentioned in the tutorial, need to edit this instead.

 

/override/controllers/front/ProductController.php
/modules/blockcart_mod/views/js/ajax-cart.js
/js/tools.js

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More