Jump to content

Bob French

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Bob French

  1. Hi ....Please help me out with this problem In Checkout Page i have an option for selecting a carrier by radio button and based on click of radiobutton i.e., carrier options i would like to display seperate division for each ,so here i caught the id of the radiobutton and by using jquery i wrote this code. <script type="text/javascript"> $(document).ready(function() { $("#deliverydays").hide(); $("#delivery_option_{$id_address|intval}_0").click(function() { $("#deliverydays").hide(); }); $("delivery_option_{$id_address|intval}_1").click(function() { $("#deliverydays").show(); }); }); </script> <input id="delivery_option_{$id_address|intval}_{$option@index} " class="delivery_option_radio" type="radio" name="delivery_option[{$id_address|intval}]" data-key="{$key}" data-id_address="{$id_address|intval}" value="{$key}"{if isset($delivery_option[$id_address]) && $delivery_option[$id_address] == $key} checked="checked"{/if} /> in order-carrier.tpl file here i want show a division when id="delivery_option_{$id_address|intval}_{$option@index} " where {$option@index} is 1 and hide it in other cases. But it is working for both radiobuttons instead of one radiobutton. Awaiting Response! Thank you
  2. Hi Forum, I'm trying develop a code for pincode service availability in prestashop Individual Product page. for reference check this link http://goo.gl/SkSXal and attached image. So i some how managed to display the html text field there but i'm confused that where to write the logic and how. I'm confused of the prestashop coding its slightly different. PLease give me any reference and suggestions of doing this. Thank you.
  3. Hi I Have created a module through this link http://www.custommyself.com/how-to-create-a-module-with-prestashop/#comment-1822 and installed it but i'm not getting where to keep this hook .Hook::exec('displayCustomerAccountForm'); and no table is created in database and in .tpl file there is no html text field code for user to check his pincode . and the module which i created is uploaded here in zip format. help me out ! Thanks myzipcode.zip
×
×
  • Create New...