Jump to content

Orien

Members
  • Posts

    12
  • Joined

  • Last visited

Profile Information

  • First Name
    Marcelo
  • Last Name
    Santos

Orien's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Boa tarde, Gostava de mudar o seguinte texto "Produto Disponivel com varias opções" que mostra na imagem mas nao consigo encontrar o mesmo para alterar. http://imgur.com/H857caB Onde posso alterar esse valor? Obrigado desde ja
  2. I'm adding them 1 by 1 ... Is there a possibility to add them all together ? I did a debug now and it gives me this error <error> <code><![CDATA[97]]></code> <message><![CDATA[[SQL Error] Duplicate entry '0-1602' for key 'PRIMARY'. From ProductCore->setWsCategories() Query was : INSERT INTO `ps_category_product` (`id_category`, `id_product`, `position`) VALUES (0, 1602, 0),(0, 1602, 1)]]></message> </error> <error> <code><![CDATA[85]]></code> <message><![CDATA[Error occurred while setting the categories value]]></message> </error> The thing is before this one that product was updated correctly and didnt gave me the error...
  3. Hello, I created a service to update stock and add new products to my prestashop store. I update around 1000 + products and it takes me about 4500 seconds to do the service (i do it at 4:00 am when there is no traffic). Its writen in PHP. The problem is: Sometimes it runs ok till the end, and since last month it is giving me a error after 30 minutes Fatal error: Uncaught exception 'PrestaShopWebserviceException' with message 'This call to PrestaShop Web Services failed and returned an HTTP status of 500. That means: Internal Server Error.' in C:\Users\Admin\Desktop\site\aon\prestashop\api\PSWebServiceLibrary.php:92 Stack trace: #0 C:\Users\Admin\Desktop\site\aon\prestashop\api\PSWebServiceLibrary.php(229): PrestaShopWebservice->checkStatusCode(500) #1 C:\Users\Admin\Desktop\site\aon\prestashop\application\controllers\api.php(289): PrestaShopWebservice->add(Array) #2 C:\Users\Admin\Desktop\site\aon\prestashop\application\controllers\api.php(46): Api->createProducts() #3 [internal function]: Api->index('8ecdd3f4b306bc3...') #4 C:\Users\Admin\Desktop\site\aon\prestashop\system\core\CodeIgniter.php(359): call_user_func_array(Array, Array) #5 C:\Users\Admin\Desktop\site\aon\prestashop\index.php(202): require_once('C:\Users\Admin\...') #6 {main} thrown in C:\Users\Admin\Desktop\site\aon\prestashop\api\PSWebServiceLibrary.php on line 92 The fun part is that the error is never in the same product (i print the product before it adds to prestashop) and there is no error on the database either. Anyone experienced this error ? Maybe something on the server ?
  4. Boas, Procuro um modulo que de para fazer filtro por temporadas a certos produtos. Isto é para uma loja de roupa gostava que desse para colocar temporadas tipo Primavera/Versao 2015 Outono/Inverno 2015 Alguem conheçe algo desse genero?
  5. Hello thank you very much I had to change a little bit .. i created a new css class "no-display" and added display:none !important; and it worked .. if i add {else} label-success" style="display: none;{/if} in HTML the last style will not show. Thank you problem solved i dont know how i can be so blind and didnt see the label-success
  6. Hello i would like to remove the green box that appears with a number 1 when a product is in stock but keep the message when it's out of stock. <!-- availability or doesntExist --> <p id="availability_statut"{if !$PS_STOCK_MANAGEMENT || ($product->quantity <= 0 && !$product->available_later && $allow_oosp) || ($product->quantity > 0 && !$product->available_now) || !$product->available_for_order || $PS_CATALOG_MODE} style="display: none;"{/if}> {*<span id="availability_label">{l s='Availability:'}</span>*} <span id="availability_value" class="label{if $product->quantity <= 0 && !$allow_oosp} label-danger{elseif $product->quantity <= 0} label-warning{else} label-success{/if}">{if $product->quantity <= 0}{if $PS_STOCK_MANAGEMENT && $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{elseif $PS_STOCK_MANAGEMENT}{$product->available_now}{/if}</span> </p> I think the code is this part but i cant remove only that 1 Can anyone help me with that? Thanks
  7. Hello i used this code <a href="{$link->getCmsLink('4')|escape:'html':'UTF-8'}" title="{l s='About us' mod='blockcontact'}">{l s='About us' mod='blockcontact'}</a> But it's not translating to the default site language. Can anyone help me please?
  8. Hello Im trying to show the id_stock_available field on the product editing page in the tab quantities behind the name ex: Quantity Designation [ 0] id_stock_available - Product 1 - Size:20 Color: Blue http://snag.gy/va7T8.jpg this image is more clear.. i want it to show the real id number there like 150 - Product 1 ...... can anyone tell me how to do it? Thank you
  9. Hello, I'm making a sync between a POS and PrestaShop in the POS there are all the products etc and I'm syncing them to prestashop so far so good everything is working. On my Source SQL i have u_ishop field if 1 it goes to shop if 0 it doesn't. In my sync process the last step is to check for products that are active on the site but shouldn't be active cause u_ishop is 0 on the SQL so i update ps_product.active to 0 and ps_product_shop.active to 0 also .. the product gets off the category folder but it doesn't get off the New Products on the main page. If i manually from the admin page deactivate any other product the product deactivated from my sync will also disappear. Am in not updating all the tables necessary to deactivate the product? Thank you
×
×
  • Create New...