Find Jobs
Hire Freelancers

VQMOD OPENCART 3 - Extension Port from 1.5 to 3.x modification

€8-30 EUR

Avslutat
Publicerad över fem år sedan

€8-30 EUR

Betalning vid leverans
I need to port this extension from 1.5x to 3.x. somebody can help?! <modification> <id>Product sale countdown Timer</id> <version>1.0</version> <vqmver>2.1.7</vqmver> <author>[login to view URL]</author> <file name="catalog/model/catalog/[login to view URL]"> <operation> <search position="before"><![CDATA[ public function getTotalProductSpecials() { ]]></search> <add><![CDATA[ /* Nikita_SP MOD FOR COUNTER */ public function getProductSpecialData($product_id) { if ($this->customer->isLogged()) { $customer_group_id = $this->customer->getCustomerGroupId(); } else { $customer_group_id = $this->config->get('config_customer_group_id'); } $query = $this->db->query("SELECT `price`, `date_end`, `date_start` FROM " . DB_PREFIX . "product_special WHERE product_id = '" . (int)$product_id . "' AND customer_group_id = '" . (int)$customer_group_id . "' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, price ASC LIMIT 1"); if ($query->num_rows) { return $query->row; } else { return FALSE; } } ]]></add> </operation> </file> <file name="catalog/controller/product/[login to view URL]"> <operation> <search position="after"><![CDATA[ $data['special'] = $this->currency->format($this->tax->calculate($product_info['special'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']); ]]></search> <add><![CDATA[ $special = $this->model_catalog_product->getProductSpecialData($this->request->get['product_id']); if($special['date_end'] && $this->config->get('countdowntimer_product') && time() < strtotime($special['date_end'])){ $this->load->language('module/countdowntimer'); $this->data['special_end'] = $special['date_end']; $this->data['special_start'] = $special['date_start']; }else{ $data['special_end'] = false; } ]]></add> </operation> <operation> <search position="after"><![CDATA[ $data['special'] = false; ]]></search> <add><![CDATA[ $data['special_end'] = false; ]]></add> </operation> </file> <file name="catalog/view/theme/*/template/product/[login to view URL]"> <operation> <search><![CDATA[ <span class="price-old" id="price-old"><?php echo $price; ?></span> ]]></search> <add position="replace"><![CDATA[ <?php if (!$special_end) { ?> <?php } else { ?> <span class="price-old" id="price-old"><?php echo $price; ?></span> <?php if ($price) { ?> <?php if ($special) { if (isset($priceISO) && isset($specialISO)) { $floatPrice = $priceISO; $floatSpecial = $specialISO; } else { $floatPrice = floatval(preg_replace('/[\.\s+]/is','',$price)); $floatSpecial = floatval(preg_replace('/[\.\s]/is','',$special)); } $priceDiff = $floatPrice - $floatSpecial; if ((int)$priceDiff - $priceDiff != 0) { // make it in percent $discount = round((($floatPrice-$floatSpecial)/$floatPrice)*100, 1).'%'; } else { //make it in euros $discount = $priceDiff.'€'; } ?> <span class="container-discoutn-percentage">Desconto: <?php echo $discount; ?> </span> <div class="promo" style="border-top: 1px solid #e6e6e6;font-size: 10px; line-height: 10px;text-transform; font-weight:normal;text-transform:none;padding-top: 30px; margin-top: 30px;"> <span class="label-promo"> * Promoção válida de <span class="data-promo"><?php echo $special_start; ?></span> a <span class="data-promo"><?php echo $special_end; ?></span>. Limitado ao stock existente. </span> </div> <?php } ?> <?php } ?> <?php } ?> ]]></add> </operation> </file> </modification>
Project ID: 18320380

Om projektet

7 anbud
Distansprojekt
Senaste aktivitet fem år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
7 frilansar lägger i genomsnitt anbud på €24 EUR för detta uppdrag
Använd avatar
Hi, I am Opencart expert and I will do this job. I will convert the attached extension to 3.0 using default opencart theme and functions. Please confirm and if you are using custom theme then share website link first. Harsh
€30 EUR Om 1 dag
4,9 (639 omdömen)
8,3
8,3
Använd avatar
Hi, I am interested in your project. I have 5-year experience on Opencart. All my completed projects on freelancer.com are on Opencart. You can check my profile to know clearly about this: https://www.freelancer.com/u/Ginjag.html I understood your requirement. I can start now. Please feel free to contact me and we discuss about your project. Hope to work with you. Thanks LeNam
€29 EUR Om 0 dag
4,9 (235 omdömen)
7,4
7,4
Använd avatar
Hi What a mess... The vqmod version needs fixes too. Like moving php code from tpl to the controller. Anyway, I can code a proper ocmod version.
€20 EUR Om 1 dag
5,0 (161 omdömen)
6,9
6,9
Använd avatar
Hi, I checked the code, can be done and tested on oc3 thanks ..Hi, I checked the code, can be done and tested on oc3 thanks ..
€23 EUR Om 1 dag
4,9 (229 omdömen)
6,7
6,7
Använd avatar
The basic file structure for your module will be divided into two sections, the admin and the catalog folders. The contents of each folder will follow the MVC-L framework respectively, with the difference that the admin will deal solely with backend functionality, and the catalog with frontend functionality. Users of your module will interact and configure its settings in the administration side of the store. Therefore, the files in the admin folder will handle any changes to its settings, the way the module is displayed in the administration, install/uninstalling the module, etc. Likewise, the way the module is displayed and how it works in the front end of the store will be handled by the files in the catalog folder.
€23 EUR Om 1 dag
0,0 (0 omdömen)
0,0
0,0
Använd avatar
Hello, there I hope you doing well, I see you post I want to work for it if you have a good time please discuss with me.
€19 EUR Om 2 dagar
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för PORTUGAL
Macedo de Cavaleiros, Portugal
5,0
1
Verifierad betalningsmetod
Medlem sedan apr. 8, 2018

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.