Jump to content

patrmich

Members
  • Posts

    364
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

patrmich's Achievements

  1. Hello, My web shop is built with Prestashop 1.5.6.2 I would like to add a video on some product pages, in the Image area. (the video would come from Vimeo or YouTube) Would you how to do it without a specific module ? I thank you in advance for any help in this matter. Patrick
  2. Hello, To change a module position, it is possible to do it from the Back Office. 1- But, when making such a change is there any related file which is altered on the server ? Or is it only an entry in the the data base which is altered ? 2- To take the amendment into account, is it necessary to clear any cache ? I thank you in advance for any reply. Patrick
  3. Hello, I deactivate a product of which position in a category is 20 (for example) If if activate again the product, its position will be 1. Is there a way to reactivate a product and keeping its original position ? I thank you in advance for any reply. Patrick
  4. Hello, Thank you very much for your posts. This evening I used the php file several times. Everything worked well But, later on, I made a mistake in the array content. I put a comma at the beginning of the list, such as $get_orders = array(,11201,11202,11205,11210); When running the php file, I got an error. I deleted the comma, but now when running the php file I am always getting a blank page. Would you know what happened ? I hope I did not alter anything important in the data base. I thank again for your help. Patrick
  5. Hi I thank you very much for your kind reply. 1- I would like to change the state of a list of orders, according to the id_order value. The id_order list could be as follows : 10201, 10202, 10204, 10206, 10310,... In your script where could I add this list ? 2- In your script, you assume that the previous state is equal to 4 $old_order_state = 4; In fact the previous value could have different value, such as 4 or 5 for instance. I thank you again in advance for any reply. Patrick
  6. Hello, My shop is built with Prestashop 1.5.6.2. I would like to use an SQL UPDATE query to do the following : 1-Change the state of a list of orders to state 100 (100 is the state related to shipped order) So, in the ps_orders Table, I need to update the current_state value to 100 This first part is easy. 2- But, I would like also to do simultaneously the following : - create entries in the ps_order_history table as follows : id_order_history : a value to be incremented for each new entry id_employee : always the same, as 0, for instance id_order : list to be included in the query id_order_state : 100 date-add : the current date Would anyone know how to make this query ? I thank you in advance for any reply. Patrick
  7. Hello, My shop is built with Prestashop 1.56.2. I would like to use an SQL UPDATE query to do the following : 1-Change the state of a list of orders to state 100 (100 is the state related to shipped order) So, in the ps_orders Table, I need to update the current_state value to 100 This first part is easy. 2- But, I would like also to do simultaneously the following : - create entries in the ps_order_history table as follows : id_order_history : a value to be incremented for each new entry id_employee : always the same, as 0, for instance id_order : list to be included in the query id_order_state : 100 date-add : the current date Would anyone know how to make this query ? I thank you in advance for any reply. Patrick
  8. Hello, In the instant search small window, are displayed the links to the searched results, as breadcrumbs : Category Name > Product Name How would it be possible to display only the Product Name ? (and not the Category name) Thank you in advance for any reply. Patrick
  9. Would your trouble be a matter of cookie in the browser ? What happens if : - you delete the cookie of your site in the browser ? - or you use the browser in private browsing (Incognito mode) - or you use another browser
  10. Hello, I am replying to my own question. I just added the following in one line of the product.tpl file : maxlength="20" In product.tpl, replace : <textarea name="textField{$field.id_customization_field}" id="textField{$customizationField}" rows="1" cols="40" class="customization_block_input">{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if} </textarea> by <textarea maxlength="20" name="textField{$field.id_customization_field}" id="textField{$customizationField}" rows="1" cols="40" class="customization_block_input">{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if} </textarea> Patrick
  11. Hello, I am using Prestashop 1.5.6.2. In product.tpl is the following line : <textarea name="textField{$field.id_customization_field}" id="textField{$customizationField}" rows="1" cols="40" class="customization_block_input">{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if}</textarea> How would it be possible to do it ? Thank you in advance for any reply. Patrick
  12. Hello, I am using Prestashop 1.5.6.2. Is there a way to do the following : - activate Smart Cache CCC for javascript for all javacsript except one specific script ? - or activate Smart Cache CCC for javascript for all javascript on all pages except the order page ? The specific script to exclude from CCC, comes from one module. I thank you in advance for your any reply. Patrick
  13. Hello, I am using Prestashop 1.5.6.2. I would to do the following : - load a specific javascript in the header of all (front end) pages, apart from the product pages - load a different javascript in the header of the product pages Would you have any idea to do that ? I thank you in advance for any reply. Patrick
  14. Hello, In Prestashop (v1.5.6.2) > Product > Association, I would like to display only active categories in the categories treeview. Would you know how what file(s) have to be amended ? An in such file(s), would you know what part of code has to be amended ? Thank you in advance for any help. Patrick
×
×
  • Create New...