Jump to content

Search the Community

Showing results for tags 'programming'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Marketplace
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 16 results

  1. Hello Community, I have two questions: I have a product with two different variants. One with 100ml and 200ml. I want two different item numbers for them. Actually I gave them two item numbers but it shows me only one item number. example: 100ml has the item number 43214 and 200ml 98760, but it shows me only the item number 43214 for both variants. I want a price under each option that I can choose. How I can realize that and where? I want to see what each option costs. example.: Option 100ml costs 2€ and option 200ml costs 4€ Best regards
  2. Hello Devs, How to change position of product in category to the end using PHP? Is there is any built in php solution or should I write my own? EDIT: I wrote down something like this: $nafo_products = Db::getInstance()->executeS(' SELECT `id_product` FROM `' . _DB_PREFIX_ . 'product` WHERE `available_for_order` = 0 AND `active` = 1 '); $nafo_products = array_column($nafo_products, 'id_product'); foreach ($nafo_products as $id_product) { $product_categories = Product::getProductCategories((int)$id_product); foreach ($product_categories as $id_category) { $last_position = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue(' SELECT MAX(position) FROM ' . _DB_PREFIX_ . 'category_product WHERE id_category = ' . (int)$id_category . ' ', true); $current_position = (int)Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue(' SELECT position FROM ' . _DB_PREFIX_ . 'category_product WHERE id_category = ' . (int)$id_category . ' AND id_product = ' . (int)$id_product . ' '); // To improve performance (do not move products already moved) $counted_already_moved = count(Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' SELECT p.id_product FROM ' . _DB_PREFIX_ . 'product p LEFT JOIN ' . _DB_PREFIX_ . 'category_product cp ON (p.id_product = cp.id_product) WHERE cp.id_category = '.(int)$id_category.' AND p.active = 1 AND p.available_for_order = 0 ')); if (($last_position - $current_position - $counted_already_moved) >= 0 ){ if (Product::setProductPositionInCategory($id_product, $id_category, $last_position)){ echo 'Moved ('.$id_product.') ' . Product::getProductName($id_product) . ' to the end of category' . $id_category . '.<br>'; } } else { echo 'Product ('.$id_product.') ' . Product::getProductName($id_product) . ' is already at the end of ' . $id_category . ' <br>'; } } } And in Product.php override add this function which is not only usefull to move product to the end but to any position given. It is static remake setWsProductPosition which is only working for default id category. public static function setProductPositionInCategory($id_product, $id_category, $position) { if ($position < 0) return false; $current_position = (int)Db::getInstance()->getvalue(' SELECT position FROM ' . _DB_PREFIX_ . 'category_product WHERE id_category = ' . (int)$id_category . ' AND id_product = ' . (int)$id_product . ' '); $products_in_category = Db::getInstance()->executeS(' SELECT id_product FROM '._DB_PREFIX_.'category_product WHERE id_category = '. (int) $id_category.' ORDER BY position '); if ($current_position == $position || ($position + 1) > count($products_in_category)) return false; $products_in_category = array_column($products_in_category, 'id_product'); if ($current_position && isset($products_in_category[$current_position])) { $save = $products_in_category[$current_position]; unset($products_in_category[$current_position]); array_splice($products_in_category, (int)$position, 0, $save); } foreach ($products_in_category as $new_position => $cat_id_product) { Db::getInstance()->update('category_product', array( 'position' => $new_position, ), '`id_category` = '.(int)$id_category.' AND `id_product` = '.(int)$cat_id_product); } return true; } This basically takes all of the not available for sale products and move them into the last position of each category they belongs. Put in cron.
  3. Hello everyone! I am new at this and I have a question related on how to customize a product based on some input of the client. Let me explain: my idea is to sell a weekly food menu for kids that will depend on the school and the possible alergies to differnet products. So once a formular is filled, the page should "calculate" the best menu option and show it to the client Any ideas how to implement that? Thanks in advance!
  4. Hello, We are having some problems with our online shop. 1. When we add a product to the cart there is an error: HTTP ERROR 500, and we need to refresh the page so it returns to the homepage. The product was added to the cart, but we need to refresh the page to see it again. 2. Then, when we enter the cart and we try to change the product quantity , or erase the product there is this error: TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object Object] Text status: error Maybe this is a Rookie mistake, but can someone help? Thank you!
  5. Здравствуйте. Разрабатываю админку для модуля и стала твориться одна странная вещь, с которой ранее мне еще не доводилось встречаться. Не переопределяется только один из многих метод дочернего класса, остальные работают. Есть класс контроллера AdminStoresController.php. Он при установке модуля оверрайдится class AdminStoresController extends AdminStoresControllerCore в нем перегружаются несколько методов родителя, а один метод ПЕРЕОПРЕДЕЛЯТЬСЯ НЕ ХОЧЕТ public function renderForm() Ничего экстраординарного в дочернем методе нет, тоже публик и тоже без аргументов. Кто сталкивался с подобным можете подсказать в чем может быть дело? Или хотя бы в какую сторону копать? Буду безмерно благодарен за помощь.
  6. Would you like to earn some extra money with programming in Prestashop? We are looking for enthusiastic Prestashop programmers. We have various Prestashop programming assignments. We are looking for programmers to develop new Prestashop modules, and we also have assignments to adapt existing Prestashop modules. All Prestashop module assignments are provided in English. How do we proceed? - send an email to [email protected] with the subject: "New Assignment" - in our reply we will send you a Prestashop module - we would then like you to give us an estimate of the time you think you might need to work on the module - based on an agreed amount of time, 50% of the corresponding amount will be paid out to you in advance - after completion you will place the developed or adapted Prestashop module on our webserver - after having checked and tested your Prestashop module, the remaining 50% will be paid out to you If you are interested in earning some extra money working on the Prestashop modules, please send an email to [email protected] with the subject: "New Assignment" Best regards, Rolf
  7. Wil je wat bijverdienen in het programmeren in Prestashop? Wij zijn op zoek naar enthousiaste Prestashop programmeurs. Wij hebben diverse Prestashop programmeeropdrachten. Wij zoeken programmeurs voor het ontwikkelen van nieuwe Prestashop modules maar wij hebben ook opdrachten om bestaande Prestashop modules aan te passen. Alle Prestashop module opdrachten worden door ons aangeleverd in de Nederlandse of Engelse taal. Hoe gaan wij te werk? - stuur een email naar [email protected] met als titel: Programmeeropdracht - je krijgt vervolgens van ons een Prestashop module opdracht toegezonden - vervolgens maak je een inschatting hoelang je denkt aan de Prestashop module opdracht te moeten werken - op basis van de overeengekomen tijd wordt 50% van de opdracht al aan je uitbetaald - daarna plaats je op onze webserver de door jouw ontwikkelde of aangepaste Prestashop module - vervolgens testen wij jouw Prestashop module uit waarna het resterende bedrag aan je wordt uitbetaald. Heb je interesse om wat bij te willen verdienen? Stuur dan vandaag nog een email naar: [email protected] met als titel: Programmeeropdracht
  8. Hello! I am new to PrestaShop and I'm creating a family structure. There are currently 11682 categories, but most times it is not feasible navigate. With some 100 goes well. Is there any way that PrestaShop in a light handle all these categories. A shop of vehicle components. Example: Compressors> AGCO> Terragator 1000 Series Any solutions? Thank you for your help.
  9. Hi, I want to create an order from code (from a button I've created in a form), without using the order-opc steps... How can I do that? Thanks
  10. hi there! fairly new to prestashop but seems very straight forward. my issue is that i'm helping a friend build his shop, and don't have much time to do it (like not even a full week) so i want to find a way of speeding the process up. The most of the time seems to be spent applying the same category attributes to many many muiltiples of items which have already been entered into the database in basic form. SO! i reckon if i can get into it and see the whole thing in code, with some nifty copying pasting i can save a boat load of time and just code the site up from the back end instead of using the delightful, but somewhat restrictive GUI provided. Absolutely any help on this matter, a finger in the right direction would be of great help! cheers muchly in advance. Steve
  11. Hello, I'm looking for a manual to program with prestashop. There is a manual for beginer user but that isn't what I want. I want to customize some pages and use content from a module to another. Bonjour, je suis à la recherche d'un guide de développement prestashop. Le guide utilisateur est disponible mais pour aller plus loin c'est à dire ajouter des champs sur certaines pages produits... récupérer le contenu d'un module vers un autre , j'ai besoin de mieux connaitre les classes sur lesquels agir. je travaille avec la version 1.5 de prestashop. Merci
  12. Hi, So for one of my services that I'm selling on the website is related directly to a specific VEHICLE. Exact match must be with YEAR, MAKE & MODEL. So before a customer makes this purchase and then later finds out that it is not compatible with his/her vehicle, I would like to do the following. Program a list of all the vehicles this service is compatible with. I think it's done via combinations? Basically I'll provide you with a list of car years, makes and models and you'll program it. The out come should be simple: A customer goes to the product, and from a drop down menu selects the year (for example 2008) then the make (for example HONDA) then the model (CIVIC). Obviously each next selection is generated based on the previous selection, if the year 2011 is selected, so car makes that are compatible with year 2011 pop-up, if a car make is selected -> 2011 MERCEDES, only the compatible MERCEDES models popup. If for example 2011 Mercedes s600 is NOT compatible, S600 would not be on the list. Heres a link to the current product: http://www.safetyrestore.com/51-airbag-module-reset.html They can simply add it to their card without reading if the service is ocmpatible with their vehicle, so by preventing this I will need this developed ASAP. PM with any questions, and offers. I prefer that this will completed within a week. Thanks! P.S. eBay has a great setup for this exact service we sell, check out here: http://www.ebay.com/itm/NISSAN-ALL-MODELS-AIRBAG-COMPUTER-CONTROL-UNIT-ECU-RCM-SDM-ACM-MODULE-RESET-/190823898158?pt=Motors_Car_Truck_Parts_Accessories&fits=Make%3ANissan&hash=item2c6dfd9c2e&vxp=mtr
  13. Hi everyone. I'm fighting with Prestashop and its code (because there isn't a good documentation). I'm trying to program a controller. Not a module. A CONTROLLER. You know that in Doc section there are few tutorials but they are very basic. I need an advanced information about Prestashop and its API, and how to create controllers. So, thank you for your responses and help. Bye, Gerardo.
  14. Hi, who can make this module for me? See the attachment for the example. It a module to create a frame around a product picture. I wil pay in Euro's.... Regards, Rolf Netherlands module_request.pdf
  15. Hi I need to expand the class of categories so I can rank on the page (which has sub-categories) display as well as products that are in these subcategories or How edit the Template for displaying products from subcategories in category page Its possible ? Thank for reply. (sorry for english, translated by Google)
  16. A developer team (including designers) is looking for new projects based on PHP and MySQL with a focus on e-commerce websites. 8 years long we have been working in the field of e-commerce and know well the structure and the code of Magento, osCommerce, XTComemrce and XCart. Joomla is also part of our experience and is supported in a perfect form. Additionally we have good experience in Search Engine Optimization. Our practical knowledge of the following areas: - PHP / MySQL - JavaScript - HTML - CSS - ASP.NET - Ajax Among other things we provide with following services: - Webdesign - Development of E-commerce-oriented systems - Customized and bespoke project development - E-Bay / Amazon solutions for online shops - Mobile Shop solutions for iPad, iPhone, etc. - Payment gateway development for online transactions - Interface development for systems such as Open ICEcat Catalogs, etc. - Multiple frontends solution / Mall shop system / Multistore / Multishop - And more We are looking forward to a long cooperation and would be pleased to discuss details. Please send us your requirements at [email protected]. Kind regards, Alex Samoylenko Rash Enterprises Ltd. Еrading Office Belvidere Fyvie Turriff AB53 8QP United Kingdom Company No. SC 382590 e-mail: [email protected] website: www.rashenterprises.co.uk
×
×
  • Create New...