Jump to content

Premitium

Members
  • Posts

    50
  • Joined

  • Last visited

Profile Information

  • Location
    Sofia, Bulgaria
  • First Name
    Simeon
  • Last Name
    Parvanov

Recent Profile Visitors

168 profile views

Premitium's Achievements

Newbie

Newbie (1/14)

5

Reputation

3

Community Answers

  1. I am using Presta 1.6 and the blocklayered module to filter products by price value. However, the filters show wrong prices and range. What do I mean: When the range is between 5,95 and 6,25 I get products that are 5.40, 5,50 and even 4.90. I have tried to set the filtering options with and without tax but nothing changes. The prices that are shown are nowhere close to the "no tax price" of the products. The shop's currency is BGN - Bulgarian Lev. Anyone tackled this problem?
  2. Thank you! The problem was that the decimals were disabled for the EUR currency and it was truncating everything after the decimal...
  3. Hi I have a store that works in an unsupported by PayPal currency - BGN which at the moment has an exchange rate - EUR - > BGN : 1.96 BGN However, when a purchase is made the PayPal module sends the ex. 16,50 BGN as 8.00 EUR which should be 8.44 EUR. Any idea what is going on and how can I fix this because the more it is purchased the more I loose money. Hope to get a response soon. Time is money
  4. This is a terrible solution! This means you still have some errors in the system. Keep the developer_mode to true, then search in your project for the modules name from the exception. I am sure you will find it. Then look and deal with it, otherwise you won't see the exceptions afterwards and this can break your site without you noticing. Some forms might not work, some JS and so on.
  5. Hi am having a strange behavior on presta -v 1.6.1.9 The radio buttons in a carrier module change their color to blue and stop working when an additional products is added in quick order with the "+" button. I am attaching an image, too. Any idea what is going on. There are no JS errors in the console. Thank you!
  6. Hi, I have developed a new carrier module that lets customers choose between different types of delivery based on their cart value. Everything works but, when the customer adds one more item with the "+" button the whole page refreshes and the previously chosen carrier is not chosen anymore but the first one is. Any idea how to persist the customer's choice on page refresh? I have another store with the same module and everything works as expected. Any help would be much appreciated! Thank you!
  7. This is what I found as a solutions: 'buttons' => array( 'save-and-stay' => array( 'title' => $this->l('Save and Stay'), 'name' => 'submitAdd'.$this->table.'AndStay', 'type' => 'submit', 'class' => 'btn btn-default pull-right', 'icon' => 'process-icon-save', ), ),
  8. Hey I want to add a save and stay button to a helper form class. These are my fields so far and it loads great. However, I want to add an ajax save and stay button. How do I do that? public function renderForm() { $fields_form = array( 'form' => array( 'legend' => array( 'title' => $this->module->l('Wineo Header Img Configuration'), 'icon' => 'icon-envelope', ), 'input' => array( array( 'type' => 'file', 'label' => $this->module->l('Add images'), 'name' => 'enable_grades', 'id' => 'uploadwineoheaderimg', 'required' => false, 'desc' => $this->module->l('Choose images that will appear on the front page.'), ), array( 'type' => 'select', 'label' => $this->l('Languages:'), 'name' => 'category', 'required' => true, 'options' => array( 'query' => $options = array( array( 'id_option' => 1, // The value of the 'value' attribute of the <option> tag. 'name' => 'EN', // The value of the text content of the <option> tag. ), array( 'id_option' => 2, 'name' => 'BG', ), ), 'id' => 'id_option', 'name' => 'name', ), ), ), 'submit' => array('title' => $this->module->l('Save')), ), );
  9. I have a couple of modules at the front page and they are appearing in the way I install them. E.g. the first module that I install appears on top of the page, the second one is beneath it and so forth. The position in the admin is correct I think http://imgur.com/3K0Fc37 How can I manage their appearance? Thanks!
  10. If you follow the process it should work, I had the same issue. Check if the id's of the currencies are set as supposed. If I remember 1 for USD/EURO and 2 for unsupported currency. This should be done from the Presta admin panel.
  11. Yes, it called by an ajax function in the tpl. The request is successful but the variable is not set in the view. I am checking like this: {if isset($wineo_shipping_type)}
  12. Guys, I have created a *.tpl file and I assigned some variables to the smarty array e.g: public function hookExtraCarrier($params) { //deleted code... $this->context->smarty->assign(array( 'wineo_free_shipping_id' => Configuration::get('WINEO_FREE_CARRIER_ID'), 'this_path' => $this->_path, 'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->name.'/', )); return $this->display(__FILE__, 'wineocarrier.tpl'); } I have another method that I want to add more variables to the array. I have tried things like: public function addCarrierNameList() { //deleted code... if (isset($carrierNameNorm)) { $this->context->smarty->assign(array( 'wineo_shipping_type' => $carrierNameNorm['name'] )); } // echo '<pre>', print_r($carrierNameNorm['name']),'</pre>'; // return $this->display(__FILE__, 'wineocarrier.tpl'); } } I cannot get the 'wineo_shipping_type' variable in the template file. What is the best way to approach this? Thanks!!!
  13. Hi to you all! I have created a new carrier that gives different options for delivery. e.g. "delivery with bike", etc... However, I want to add this information in a <section></section> tag in the Order details page, so that we know what the user chose as delivery method. I am planing to edit the file: /adminPage/themes/default/template/controllers/orders/helpers/view/view.tpl What I do not know is how to get the info from the carrier to the order? I can create a new table for my carrier and then join it based on the order id table. Is this possible? Bottom line my question is what is a good practice for suck a task? Thanks!
  14. The solution works with PayPal 3.10.2 and presta 1.6.5 with BGN currency.
×
×
  • Create New...

Important Information

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