Jump to content

Cesar Machado

Members
  • Posts

    19
  • Joined

  • Last visited

About Cesar Machado

  • Birthday 03/02/1975

Recent Profile Visitors

3,217,750 profile views

Cesar Machado's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

6

Reputation

  1. Thanks for the support. I'm going to test this now and see what the behavior of leaving this active in the admin is like. If it works well when managing products and orders, I think it could be a solution to leave it active. The difference in admin speed is very annoying with this option turned off and I don't know what magic it does when it is active.
  2. Friends, when I enable PS_DEBUG_PROFILING my admin is super fast and without it enabled the admin pages load very slowly. It's difficult to understand why when this is active the loading problems are resolved and it shouldn't be like this by default. It's so fast that it's not even possible to find bottlenecks that the tool shows in the footer. Well, I'm studying a way to make PS_DEBUG_PROFILING active only for admin users, and thus guarantee quick operation in the store's routine. So, does anyone know a way to recognize in the defines.inc.php file whether the page accessed is in the backend and thus leave PS_DEBUG_PROFILING set to true? And similarly, if the access is from the frontend, leave PS_DEBUG_PROFILING as false? I tried some things like recognizing the employee ID, but it didn't work. I also tested adding the IP, but the person responsible for the backend could not edit their own IP address all the time. I appreciate anyone who can help me with this for testing. Caesar
  3. I have a specific need. I will sell decoration projects on the website. After purchasing, I would like the customer to fill out a form with the information necessary to produce the purchased project. There will be situations where the customer will purchase more than 1 different product, and it is necessary to collect different information for each project. Does anyone know if there is a module for this specific purpose or a form that I can use? I wait, and thank you. Cesar.
  4. Hello, I had following a tutorial to try to add a new field to admin, but could not save to BD. After testing some modifications I was able to save by modifying the information below, see if it doesn't work for you or others who have the same problem: 'regal' => array('type' => self::TYPE_STRING, 'validate' => 'isString'), Change to: 'regal' => array('type' => self::TYPE_STRING, 'validate' => 'isCleanHtml', 'size' => 64), I followed the same as the default reference field.
  5. Hello guys, I had this same problem as you. I will leave here the only thing I needed to modify and solved for me the question of not saving the information in BD: In the example above: 'regal' => array('type' => self::TYPE_STRING, 'validate' => 'isString'), Change to: 'regal' => array('type' => self::TYPE_STRING, 'validate' => 'isCleanHtml', 'size' => 64), I followed the same as the default reference field.
  6. Hello everyone, everything good? I am using prestashop 1.7.6.1 and need to add in the product list a new column showing the discounted price. In 1.6 this was easier, but I'm a few days trying to find the solution to this. I did the procedure explained in this tutorial, which must have been created for older versions 1.7, as 1.7.6.1 already has both price columns. The tutorial stated that the price_final field would display the current total value of the product (including possible discounts) but for me both columns have the same price even for products with active discounts. I followed the tutorial from this link: https://crezzur.com/en/tutorials/tutorials/prestashop-backoffice-product-catalog-add-tax-included-prices I believe a little detail is missing for this to work and will be useful for everyone. Does anyone have any idea what modification I need to make to make this work? Example: Product with standard price of $ 20 and 10% enabled promotion. It should show one column the price of $ 20 and the other column the price of $ 18. I thank you in advance.
  7. Hello guys. I need to show a new column in the backoffice product list, containing the attributes and current stock of them. This would be good for me to see which combinations are low stock without having to edit the product to check the stock of these combinations. If for example my product A has the following combinations and stock: blue color - 3 units, green color 1 unit, black color - 0 units. In this new column I would like to show this information for each product: color blue (3 pcs) green color (1 pcs) black color (0 pcs) I searched extensively and saw changes to add new column with other information related to the product, but found nothing related to the combinations. This probably only needs to be entered in controllers / admin / adminProductsControllers.php. Someone knows how to do this in version 1.6.1.23. Thanks for the help.
  8. Hello guys. Only now I'm starting a project with prestashop 1.7.5.1. Currently all my clients are in 1.6.1.23. I have found a huge amount of problems only in tests in version 1.7. Stores with a default theme and no additional modules installed generate ajax errors that do not complete and can lock the entire store. For example, I create a simple add product, and when the product is delayed, I do not even receive the update confirmation. And as far as this I can not access anything else in another browser tab in the admin or frontend. I do not know if it can be related to some server configuration, but I have already changed versions of php and the problems continue. Even discontinued, I'm being forced to keep my projects on 1.6 for an indefinite time. It is difficult to try to solve problems of errors in a clean installation of 1.7. Please give me your opinion. If what is happening is common and you still insist on using 1.7, or if I can somehow resolve these issues before abandoning the new version. I appreciate it.
  9. Olá pessoal, Não sei se alguém já postou uma ajuda com relação a isso. Sempre tive problemas com a informação de frete grátis no resumo do carrinho, quando o cliente não estava logado, gerando bastante reclamação dos clientes que acreditavam que o frete era grátis, mas no momento da compra, depois de ter cadastrado o endereço, a loja mostrava um valor de frete. Fiz somente uma modificação no arquivo blockcart.tpl para mostrar a informação "Aguardando Login e CEP", quando o cliente não estiver logado, e a informação "Aguardando CEP" quando o cliente está logado e não possui ainda um endereço cadastrado. Situação que ocorre principalmente quando se tem a opção de login e cadastro com redes sociais. - acesse o arquivo em /themes/seu_tema/modules/blockcart/blockcart.tpl - encontre duas vezes o seguinte trecho: {if $shipping_cost_float == 0} {l s='Free shipping!' mod='blockcart'} {else} {$shipping_cost} {/if} - substitua nas duas vezes que encontrar por: {if $is_logged} {if $cart->id_address_delivery} {if $shipping_cost_float == 0} {l s='Free shipping!' mod='blockcart'} {else} {$shipping_cost} {/if} {else} {l s='Aguardando CEP!' mod='blockcart'} {/if} {else} {l s='Aguardando Login e CEP!' mod='blockcart'} {/if} - encontre agora: {addJsDefL name=freeShippingTranslation}{l s='Free shipping!' mod='blockcart' js=1}{/addJsDefL} - substitua por: {if $is_logged AND $cart->id_address_delivery} {addJsDefL name=freeShippingTranslation}{l s='Free shipping!' mod='blockcart' js=1}{/addJsDefL} {/if} Para mim por enquanto. Se alguém puder melhorar posta aqui a alteração.
  10. Olá pessoal, Já disponibilizei em loja de cliente o exporta fácil. A única alternativa foi criar as regiões manualmente no presta e inserir os preços nas faixas de peso. também uso o módulo da Fokus, e para funcionar corretamente o jeito foi modificar o campo do cep para ativar a máscara e validação somente quando o idioma ativo for portugues. Também, quando o idioma não for português, esconder os campos rg, cpf, cnpj. Preciso até pegar o valor atualizado dos Correios para o ExportaFácil e atualizar manualmente o banco de dados.
  11. Hello friends, I'm trying months a solution to my problem. I would like to share my doubt and wonder if someone can help me. I have a female intimate parts store, which sells sets with sultien and panties. There is a difficulty in handling the stock since it is necessary to attach amounts of size in other combinations. In each product are the sultien and panties. An example of how it works today: Contains Product1 in stock: - 6 sultien size P - 6 sultien size M - 6 sultien size L - 6 panty size P - 6 panty size M - 6 panty size L The distribution of the combinations would look like this: - 2 units sultien P and panties P (combination 1) - 2 units sultien P and panties M - 2 units sultien P and G panties - 2 units sultien M and P panties - 2 units sultien M and M panties - 2 units sultien M and panties G - 2 units sultien G and panties P - 2 units sultien G and panties M - 2 units sultien G and G panties Current issue: Once, for example the first option is bought (2 units sultien P and panties P) because it has more demand, you can not sell more this combination, even if there are parts in other combinations, they are stuck there and store lost sales. So must all the time be decreasing part of another combination for this first sold again becomes available. I would like the combination one could be purchased, since there is the available sizes S, who are trapped in other combinations. Is there a way to create a module or hack to manage this issue? Could anyone help me develop so if positive can send me a value for this service. I look back and doubt.
  12. Hello friends, I would like someone to help solve this problem. I successfully created a new field in the table "ps_product" but I would like to display in your shopping cart this data differently, for example: product 1, custom_field = 10 Product 2, custom_field = 30 Product 3 custom_field = 12 I would like to show the highest value for the field "custom_field" among all stand products. In this example above I would like to show "30", corresponding to custom_field product 2. The information of each existing product in the cart, I can show in each of them what their custom_field, but also to be shown somewhere in the buying process which is the highest value of custom_field among all chosen products in the cart. Can anyone give me a light? Wait, thank you.
×
×
  • Create New...