-
Posts
131 -
Joined
-
Last visited
Contact Methods
- Website
Profile Information
-
Location
Jordan
-
Activity
User/Merchant
elektrojo's Achievements
-
How could i reset the localization settings, I added some zones and changed the cities for a certain country, I need them back
- 11 replies
-
- localization
- country
-
(and 1 more)
Tagged with:
-
I am looking for a developer to write a wordpress plugin and prestashop module to perform the following: At a wordpress site - prestashop cart widget, the cart should be able to show added item either from word press or prestashop store. The checkout is processed back at prestshop store website. - a widget that shows prestashop product categories - a widget that shows new products - wordpress shortcodes to add product link, or product image and buying link to word press article and widget At both sides: - single sign for both wordpress and prestashop store is required via facebook, google, so if a user logged in prestashop store he will be automatclly logged in if he switched to word press site and vice versa. This requires a prestashop module to mange user login and wordpress connection.
-
I am trying to check if product is out of stock using this call http://elektrojo.com/api/stock_availables/?filter[id_product]=183 but I get the same response for all products: <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <stock_availables></stock_availables> </prestashop>
-
Hi, In presta shop API, we get products using product GET function, but the quantity is always zero!, how to get the actual quantity for items? this is what we were able: "id": 1944, "id_manufacturer": "0", "id_supplier": "0", "id_category_default": "2", "new": null, "cache_default_attribute": "0", "id_default_image": "1469", "id_default_combination": 0, "id_tax_rules_group": "53", "position_in_category": "769", "manufacturer_name": false, "quantity": "0", "type": "simple", "id_shop_default": "1", "reference": "", "supplier_reference": "", "location": "", "width": "0.000000", "height": "0.000000", "depth": "0.000000", "weight": "0.000000", "quantity_discount": "0", "ean13": "", "upc": "", "cache_is_pack": "0", "cache_has_attachments": "0", "is_virtual": "0", "on_sale": "0", "online_only": "0", "ecotax": "0.000000", "minimal_quantity": "1", "price": "0.000000", "wholesale_price": "0.000000", "unity": "", "unit_price_ratio": "0.000000", "additional_shipping_cost": "0.00", "customizable": "0", "text_fields": "0", "uploadable_files": "0", "active": "1", "redirect_type": "404", "id_product_redirected": "0", "available_for_order": "0", "available_date": "0000-00-00", "condition": "new", "show_price": "0", "indexed": "1", "visibility": "both", "advanced_stock_management": "0", "date_add": "2017-11-23 09:43:01", "date_upd": "2017-11-23 09:44:18", "pack_stock_type": "3", "meta_description": "", "meta_keywords": "", "meta_title": "", "link_rewrite": "pmod-ad1-two-12-bit-ad-inputs", "name": "Pmod AD1: Two 12-bit A/D Inputs",
-
[solved] Mass wholesale_price SQL update
elektrojo replied to Piotr Kaczor's topic in Core developers
HI, I need to decrease prices by a percent, how could I use sql for prestashop 1.6 -
I need to remove shipping fees info from cart ajax cz they are misleading for customers, I am using prestashop 1.6.1.5 here is my shop www.elektrojo.com and here what i wish to see I tried this but didn't work 1. Go to "blockcart.tpl" and comment out these lines: <span>{l s='Shipping' mod='blockcart'}</span> <span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span> <br/> 2. In the same file, find this line: <span id="cart_block_total" class="price ajax_block_cart_total">{$total}</span>and replace {$total} with {$product_total}: <span id="cart_block_total" class="price ajax_block_cart_total">{$product_total}</span> 3. probably the "AJAX mode" is on so you "must" edit also the "ajax-cart.js" file which exists in "blockcart" folder in "modules" folder. Open it and go to line 560. Replace: $('.ajax_block_cart_total').text(jsonData.total);with this $('.ajax_block_cart_total').text(jsonData.productTotal);
-
[SOLVED] prestashop inserts wrong image url
elektrojo replied to elektrojo's topic in Addons, modules and themes developers
Thanks again, I am using "The Manier" it has many themes -
How could I write the rules to convert those links to the friendly ones after the , the produced friendly URL below show broken links This URL http://www.elektrojo.com/index.php?id_post=2&fc=module&module=nextblog&controller=nbpost To this friendly one http://www.elektrojo.com/blog/2-second-blog http://www.elektrojo.com/index.php?fc=module&module=nextblog&controller=nblog >>>http://www.elektrojo.com/blog http://www.elektrojo.com/index.php?id_collection=1&fc=module&module=nextblog&controller=nbcollection >>>>http://www.elektrojo.com/blog/collection/1-test http://www.elektrojo.com/index.php?year=2016&month=5&fc=module&module=nextblog&controller=nbarchive >>> http://www.elektrojo.com/blog/archive/2016-5
-
[SOLVED] prestashop inserts wrong image url
elektrojo replied to elektrojo's topic in Addons, modules and themes developers
I am sorry for late reply, gmail has moved the notification email to spam folder :S -
[SOLVED] prestashop inserts wrong image url
elektrojo replied to elektrojo's topic in Addons, modules and themes developers
Thanks for reply it was php problem form the server side they just updated the php.ini file, the setting I was adding were not effective, Now I have another problem using the blog module from the theme , it shows broken link http://www.elektrojo.com/blog/1-blog-post , I tried to go SEO & URL save but didnt work, i tried to delete the htaccess file also no use. I dont know what should the right URL should look like Update here is the link without friendly URL http://www.elektrojo.com/index.php?id_post=1&fc=module&module=nextblog&controller=nbpost -
Every time I insert an image in custom html blocks in The Manier theme, the image has a wrong url after saving; \" is added to the link. when I googled the error I found that it was a common problem but with the orginal modules come with prestashop and it solved by deactivating the HTMLPurifier in general configuration but this does not work with my modules. for example <img src="http://www.elektrojo.com/img/cms/Arduino Mega 2560.png" alt="" /> changes to <img src="\"http:/www.elektrojo.com/img/cms/Arduino" mega="" 2560="" png="" alt="\"\"" /> I also tried to disable the magic quotes but nothing worked, the issue is just regarding theme modules, prestashop modules are working fine please help
-
[SOLVED] Cannot add a new image to a CMS page
elektrojo replied to ManFromDet's topic in Configuring and using PrestaShop
I have the same problem this solution didnt work event it worked with almost everyone! -
any comment please! I get help always from this forum, why is this one seems a problem!
-
I am trying to get image URL for prestashop product depending on it's ID I am trying this code for methods provided by prestashop, but I get nothing <?php //require('config/settings.inc.php'); //require('classes/Image.php'); require('classes/Link.php'); $ItemID=$_GET["catID"]; $db=mysql_connect(constant('_DB_SERVER_'),constant('_DB_USER_'), constant $image = Image::getCover($ItemID); $imagePath = Link::getImageLink($product->link_rewrite, $image['id_image'], 'home_default'); this code is not working I tried to include the required classes but they also produce a problem just by adding them //require('config/settings.inc.php'); //require('classes/Image.php'); also if I commented last two line the require itself produce an error my other working code that I am planing to build a table of images URL manually is wroking <?php require('config/settings.inc.php'); $ItemID=$_GET["catID"]; $db=mysql_connect(constant('_DB_SERVER_'),constant('_DB_USER_'), constant ('_DB_PASSWD_')) or die('Could not connect'); mysql_select_db(constant('_DB_USER_'), $db) or die(''); if (is_numeric($ItemID)) { $result = mysql_query("SELECT name,date_add,price , IFNULL(imageURL,'') as imageURL FROM product inner join product_lang on product_lang.id_product=product.id_product left join app_product_image on product.id_product=app_product_image.id_product where id_lang=1 and product.id_product='$ItemID'") or die('Could not query'); $json = array(); if(mysql_num_rows($result)){ // $row=mysql_fetch_assoc($result); while($row=mysql_fetch_row($result)){ // cast results to specific data types //$test_data[]=$row; $json['name']=$row[0]; $json['date']=$row[1]; $json['price']=$row[2]; $json['imgURL']=$row[3]; } // $json['products']=$test_data; } echo json_encode($json); mysql_close($db); } the above code is the last solution but i am trying not to write the products images URL manually!
-
Any idea please