Roman0002
Members-
Posts
19 -
Joined
-
Last visited
Profile Information
-
Location
Slovenská republika
-
Activity
Agency
Roman0002's Achievements
Newbie (1/14)
0
Reputation
-
Hi, I have problem in prestashop 1.6(Multistore mode) with carrier when I want add new carrier or edit exist carrier the input box for delay not showing(instyle css set display:none) and when i want go to next step i get this error mesage ... the field delay is required at least in ... Another problem is when i want install modules sometimes i get error mesage in attached. Pls help Best regards
-
- delay carrier error
- dealy error
-
(and 1 more)
Tagged with:
-
Hello, Where do I find a file which I delete order reference. I want to delete from the places marked with a red rectangle. The file order.tpl, view.tpl and ordercontroller.php it is not ... For help and answers thank you in advance.
-
Add supplier position on google map on product page
Roman0002 replied to Roman0002's topic in Core developers
Hi, Help me with this anyone? Pls...- 2 replies
-
- supplier position on google
- google map
-
(and 1 more)
Tagged with:
-
Hi, I would like to add supplier position on google map on product page to description. I've copy this code to product.tpl but it does not work: <script type="text/javascript"> var geocoder = new google.maps.Geocoder(); var delivery_map; $(document).ready(function() { $(".textarea-autosize").autosize(); geocoder.geocode({ address: '{$supplier_address->address1},{$supplier_address->postcode},{$supplier_address->city},{$supplier_address->country}' }, function(results, status) { if (status === google.maps.GeocoderStatus.OK) { delivery_map = new google.maps.Map(document.getElementById('map-canvas'), { zoom: 10, mapTypeId: google.maps.MapTypeId.ROADMAP, center: results[0].geometry.location }); var delivery_marker = new google.maps.Marker({ map: delivery_map, position: results[0].geometry.location, url: 'http://maps.google.com?q={$supplier_address->address1|urlencode},{$supplier_address->postcode|urlencode},{$supplier_address->city|urlencode},{$supplier_address->country|urlencode}' }); google.maps.event.addListener(delivery_marker, 'click', function() { window.open(delivery_marker.url); }); } } var date = new Date(); var hours = date.getHours(); if (hours < 10) hours = "0" + hours; var mins = date.getMinutes(); if (mins < 10) mins = "0" + mins; var secs = date.getSeconds(); if (secs < 10) secs = "0" + secs; $('.datepicker').datetimepicker({ prevText: '', nextText: '', dateFormat: 'yy-mm-dd ' + hours + ':' + mins + ':' + secs }); }); // Fix wrong maps center when map is hidden $('#tabAddresses').click(function(){ x = delivery_map.getZoom(); c = delivery_map.getCenter(); google.maps.event.trigger(delivery_map, 'resize'); delivery_map.setZoom(x); delivery_map.setCenter©; x = invoice_map.getZoom(); c = invoice_map.getCenter(); google.maps.event.trigger(invoice_map, 'resize'); invoice_map.setZoom(x); invoice_map.setCenter©; }); </script> Please help me For help and answers thank you in advance
- 2 replies
-
- supplier position on google
- google map
-
(and 1 more)
Tagged with:
-
Hi, I would like to edit the account order history on front. I tried to find here MyAccountController.php and my-account.tpl but it's not there. I need there add {id_order}. For help and reply thanks in advance.
-
- order history
- edit account order history
-
(and 1 more)
Tagged with:
-
Add a email form in a product page
Roman0002 replied to fabrizio.brignone's topic in Core developers
Hi, I do not understand .... To display email form in every products, you must copy you code(email form) to a product.tpl file. But when if you want edit product list you must copy your code on product-list.tpl or front product controller -
Hi guys, I would like to add order number({id_order}) to mail(order conf.) How do I do that? For answers and help thank you in advance
- 10 replies
-
- how to add id order
-
(and 1 more)
Tagged with:
-
Hello, I would like to add to the new value of the variable address (Email, VAT ID, company ID, longitude, latitude) I tried this but it does not work I save data and them, when I come back the data in the field(Email, VAT ID, company ID, longitude, latitude) are gone ........................... array( 'type' => 'text', 'class' => 'fixed-width-xl', 'label' => $this->l('Zemepirsná šírka'), 'name' => 'latitude', 'maxlength' => 100, 'required' => false, 'hint' => $this->l('Zemepisná šírka. Adresa predajcu.') ), array( 'type' => 'text', 'class' => 'fixed-width-xl', 'label' => $this->l('Zemepirsná dĺžka'), 'name' => 'longitude', 'maxlength' => 100, 'required' => false, 'hint' => $this->l('Zemepirsná dĺžka. Adresa predajcu.') ), array( 'type' => 'text', 'class' => 'fixed-width-xl', 'label' => $this->l('E-mail'), 'name' => 'email', 'required' => false, 'maxlength' => 100, 'hint' => $this->l('Email') ), array( 'type' => 'text', 'class' => 'fixed-width-xl', 'label' => $this->l('IČO'), 'name' => 'ico', 'required' => false, 'maxlength' => 100, 'hint' => $this->l('IČO spoločnosti.') ), array( 'type' => 'text', 'class' => 'fixed-width-xl', 'label' => $this->l('DIČ'), 'name' => 'dic', 'required' => false, 'maxlength' => 100, 'hint' => $this->l('DIČ spoločnosti.') ), ............................. $this->fields_value = array( ........... 'latitude' => $address->latitude, 'longitude' => $address->longitude, 'email' => $address->email, 'ico' => $address->ico, 'dic' => $address->dic, ............... public function postProcess() ......... ............ ........... $address->latitude = Tools::getValue('latitude', null); $address->longitude = Tools::getValue('longitude', null); $address->email = Tools::getValue('email', null); $address->ico = Tools::getValue('ico', null); $address->dic = Tools::getValue('dic', null);
-
Supplier's address in product description prestashop
Roman0002 replied to Roman0002's topic in Core developers
Yes its working.... But i want all description of supplier not only adress i want telephone number, company name, city .... all description of supplier Thank you -
Hello, I would like to have address of the supplier in the description of the product .... How do I do I tried to rewrite SupplierController.php and then insert this code {$ supplier_address-> address1 | escape: 'htmlall': 'UTF-8'} to product.tpl But it does not work ... Pls help me ... Thank you in advance for the answers. I use prestashop 1.6
-
Hi, Sorry I have two questions: 1) Where can I find a file when I want to edit the catalog section. I was looking for controllers but I found it there. 2) Where can I find a file when I want to edit the login section to adminisrácie. Also I upload a second picture. For the answer I thank you in advance.
-
I have one question. I would like to verify the reference number order rather ... well I want some employees did not see the reference number of the order but I want to be there the search box under the reference number of the order and I want to align differently than it was originally. Which php file / s should I overwritte?
-
ďakujem za odpoveď Mám ešte jednu otázku. Chcel by som overovať referenčného čísla objednávky... teda lepšie povedané chcem aby niektorý zamestnanci nevideli referenčné číslo objednávky ale chcem aby tam mali políčko vyhľadávania podľa referenčného čísla objednávky a chcem ho inak zarovnať ako to je pôvodne. Ktoré php súbor/y by som mal prepisovať?