-
Posts
19 -
Joined
-
Last visited
About Eli Ivanova
- Birthday February 12
Contact Methods
- Website
Profile Information
-
Location
Bulgaria
-
Activity
Developer
Recent Profile Visitors
5,324,657 profile views
Eli Ivanova's Achievements
Newbie (1/14)
14
Reputation
-
Vali Iacobescu started following Eli Ivanova
-
Nishith Nesdiya started following Eli Ivanova
-
Hello, Using Prestashop web services API I imported successfully large number of products. The issue I have is that it seems not possible to insert custom dates for a product (both date_add & date_upd). I'm using the following code: $webService = new PrestaShopWebservice(PS_SHOP_PATH, PS_WS_AUTH_KEY, DEBUG); $xml = $webService -> get(array('url' => PS_SHOP_PATH . '/api/products?schema=blank')); $resources = $xml -> children() -> children(); $resources->date_add = '2011-06-06 15:01:17'; $resources->date_upd = '2011-06-06 15:42:17'; It works well for categories, but for products the system always inserts the current date&time. Is there anyone with the same issue? Any help on resolving that? Thank you.
-
Webservice : How To Retrieve The Last Inserted Id Of A Resource
Eli Ivanova replied to peorthyr's topic in Core developers
a better solution to retrieve the last created id after add call would be the following $xml = $webService -> add($opt); $result = $xml->children()->children(); $id_product = $result->{'id'};- 3 replies
-
- 3
-
- webservice
- this
-
(and 2 more)
Tagged with:
-
Add product image via webservice
Eli Ivanova replied to eggandspam's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
Did you find some solution? -
[SOLVED] Currency Not Supported in PayPal 3.5.8
Eli Ivanova replied to akashheimlich's topic in PayPal
hi shaktishakya, thanks for sharing this! -
[SOLVED] Currency Not Supported in PayPal 3.5.8
Eli Ivanova replied to akashheimlich's topic in PayPal
could you share which files you have changed? Thanks. -
[SOLVED] Currency Not Supported in PayPal 3.5.8
Eli Ivanova replied to akashheimlich's topic in PayPal
hello shaktishakya, I know what you mean, but I couldn't find the solution for this. It is not straightforward, because the real amount is calculated and the currency is processed also. So, I decided to hide this line in this template. At that very moment, after completing the payment, this information is not so important, as the user has already received the email with the exact figures. -
I found a solution. Let me first mention that Wishlist shall not be created at the moment of customer registration, because the Wishlist module is not mandatory and may not be installed. Instead the default wishlist behavior shall be set within the module blockwishlist. To do that in modules/blockwishlist/blockwishlist.php, in the function hookRightColumn, line 188 (for PS version 1.5.6.0) - there is if statement: if (!sizeof($wishlists)) $id_wishlist = false; It shall be replaced with: if (!sizeof($wishlists)) { $wishlist = new WishList(); $wishlist->id_shop = 1; $wishlist->id_shop_group = 1; $wishlist->counter = 1; $wishlist->name = 'my wishlist'; $wishlist->id_customer = (int)($this->context->customer->id); list($us, $s) = explode(' ', microtime()); srand($s * $us); $wishlist->token = strtoupper(substr(sha1(uniqid(rand(), true)._COOKIE_KEY_.$this->context->customer->id), 0, 16)); $wishlist->add(); $this->context->cookie->id_wishlist = (int)($wishlist->id); $id_wishlist = (int)($wishlist->id); }
-
Friendly url in Cyrillic
Eli Ivanova replied to g_antonov's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
Hi, is there any progress on Cyrillic URLs? I'm using Prestashop v1.5.6.0, but it is still not possible to set a user friendly SEO Cyrillic URLs. Any ideas? Thanks.- 7 replies
-
- Friendly url
- htaccess
-
(and 1 more)
Tagged with:
-
thanks for your help razaro. Yes, I tried this Digital products menu on the left, but was not able to associate files, as after clicking on the wrench icon, a message appears saying that the content couldn't be displayed. I tried to contact the developers, but they didn't answer my questions. Digitalique is the first module I have paid for, and I am very disapointed - it doesn't work properly, very poor documentation, not responding suppliers.