Jump to content

unnati

Members
  • Posts

    6
  • Joined

  • Last visited

2 Followers

Profile Information

  • Location
    India
  • Activity
    Developer

Recent Profile Visitors

396 profile views

unnati's Achievements

Newbie

Newbie (1/14)

0

Reputation

1

Community Answers

  1. Thank you for your answer... Sorry for bother you again..actually i have reduction amount calculated and i want to deduct that amount from whole cart amount. problem is that discount is not from cart rule. i calculated through code. i dont know how to apply it to cart and display as order discount.
  2. Hi Guys, Wondering if anyone can help me. I am developing a module in which i want to apply discount on cart. i doesn't know which method calculate discount and how to apply that discount on cart.
  3. I want to know prestashop has default functionality to send email about voucher code to customer on voucher created or on voucher is assign to specific customer ??? Thanks
  4. I have solved it i have done it with jquery only $(document).ready(function() { $('.custom_note_edit').dblclick(function(e) { $(this).addClass("cellEditing"); var trobj = $(this).closest('tr'); var order = $.trim(trobj.children('td.order_id').text()); var cval = $.trim($(this).text()); $(this).html("<input type='text' id='editable_note' value='" + cval + "' />"); $(this).children().first().focus(); $(this).children().first().blur(function(){ var newContent = $(this).val(); /** here call your function for updating the field value to database **/ $(this).parent().text(newContent); $(this).parent().removeClass("cellEditing"); }); }); }); here custom_note_edit is class associate with td which contain custom_note on order list page
  5. I have gotten special requirement in prestashop admin side order listing page. In that i need one filed custom_note which is only for admin in order listing page. custom_note should be editable like textfield or textarea at listing page only and update or save it at listing page.custom_note should be edit and update at listing. i have completed to displaying filed in listing of orders .but i cant figure out how i can edit custom_note at listing page only and update it. i attached screenshot what i have done. please help me
×
×
  • Create New...