Jump to content

amodkarmarkar

Members
  • Posts

    21
  • Joined

  • Last visited

About amodkarmarkar

  • Birthday 08/01/1980

Profile Information

  • Location
    India
  • Activity
    Freelancer

amodkarmarkar's Achievements

Newbie

Newbie (1/14)

5

Reputation

  1. Hi All, My client has a tedious request. can it be done in prestashop Suppose there are 3 products A,B,C A is available on only mondays, B on tuesdays, C on wednesdays Hence every one can only purchase or book these products prior to the day. eg, A can only be booked on sundays. rest all the days A should be on catlogue mode. Can this be possible in prestashop Thanks in advance
  2. Hi all PS Version 1.5.6.0 Multistore = On In the AdminProductsController.php We have This code somewhere about in line 214 if (Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_SHOP) $this->fields_list['shopname'] = array( 'title' => $this->l('Default shop:'), 'width' => 230, 'filter_key' => 'shop!name', ); else $this->fields_list['name_category'] = array( 'title' => $this->l('Category'), 'width' => 'auto', 'filter_key' => 'cl!name', ); i just commented the following /** if (Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_SHOP) */ $this->fields_list['shopname'] = array( 'title' => $this->l('Default shop:'), 'width' => 230, 'filter_key' => 'shop!name', ); /** else */ $this->fields_list['name_category'] = array( 'title' => $this->l('Category'), 'width' => 'auto', 'filter_key' => 'cl!name', ); Inshort i need both the shopname as well as category, when saved and refreshed page i see both but now each product shows home category. i rechecked with editing a product it has been assinged a proper category. Any Mistake By My Side ?? Regards Amod
  3. It was a success for me in 1.5.6.0. But the live example shown in the link differs from this example. In the live site you actually get a dropdown window for some time. How to get that
  4. Hi All, P.S Version: 1.5.6.0 I have round about 10 stores in ps. I have gone to preferences/storecontacts and have named each store differently along with all their details. it is ok when i select a store then go to orders/invoices and generate pdf by status. i get the proper address in the footer. But when i select all shops go to orders/invoices and generate pdf by status. I get the following Name: default store address: missing contact no: of the respective store. Header is ok mails are also ok, the problem is only with the footer when i am on all shops option. Any Solution. Regards Amod
  5. Hi pascalvg Great you have actually solved my problem But from where did you get this image coz when i coppied this image it actually disturbes the layout. I need the below image in original if not asking too much?? Regards Amod
  6. Hi all, The ckeckout button is visible to us only when we hower mouse over the cart icon if there are some items placed. My customers are preety new to shopping carts and some are not so computer savvy. On their latest meeting they requested me to have the checkout button visible if they placed orders. They could not find the checkut button hence had to call the respective employee. Is this possible.
  7. Some how i solved this issue by removing the above parameters that is This 'birthday' => array('type' => self::TYPE_DATE, 'validate' => 'isBirthDate', 'required' => true param ), to This 'birthday' => array('type' => self::TYPE_DATE, 'validate' => 'isBirthDate' ), Again I mean to default and Made changes in classes/validate.php As This public static function isBirthDate($date) { if (empty($date) || $date == '0000-00-00') return true; to This public static function isBirthDate($date) { if (empty($date) || $date == '0000-00-00') return false; This atlest gave an error as invalid date of birth but only when you fill all the required fields Hope so i have explained you better, Might be helpfull to you. Regards Amod
  8. Hi love-vaping It is not 'birthday' => array('type' => self::TYPE_DATE, 'validate' => 'isBirthDate', 'required' => true param ), Instead it is 'birthday' => array('type' => self::TYPE_DATE, 'validate' => 'isBirthDate', 'required' => true), regards Amod
  9. Hi all, I have Solved The problem for the above. In the classes/validate.php you would see this somewhere aroung in the line 486 public static function isBirthDate($date) { if (empty($date) || $date == '0000-00-00') return true; Change it to this public static function isBirthDate($date) { if (empty($date) || $date == '0000-00-00') return false; This atleast gives error as Invalid date of birth. And if you have made changes in Customer.php as 'birthday' => array('type' => self::TYPE_DATE, 'validate' => 'isBirthDate', 'required' => true), Remove 'required' => true But now i need is the red mark on the registration page for birthdate (*) can anyone help in that. Regards Amod
  10. Hi all, This is not a new topic it has been discussed earlier but that topic was tagged as solved hence i think all are ignoring, so started a new topic My ps version is 1.5.6.0; Except the customer registration module installed No other modules installed and i am using the default theme My issue is i have This in Customer.php 'birthday' => array('type' => self::TYPE_DATE, 'validate' => 'isBirthDate', 'required' => true), I get an error even after someone enters the date of birth. Is there any more addition to be done. Or any other files have to be edited. Regards Amod
  11. Same quote again Customer.php - 'birthday' => array('type' => self::TYPE_DATE, 'validate' => 'isBirthDate', 'required' => true) This does not work. Even if birth day entered errors as birthday required
×
×
  • Create New...