-
Posts
545 -
Joined
-
Last visited
-
Days Won
7
Everything posted by Ress
-
Do you want these rules to apply at all times? Remove the ".invalidAttribute" selector from the CSS rules. The difference is that in the first picture, that class is added, which in picture 2 it is not, and so the rules no longer apply. I can't figure out what it's from, maybe that combination is out of stock?
-
As far as I can see, in the second picture, the span with class "radio-label" does not have class "invalidAttribute", so all those css rules will not apply.
-
Id product attribute current in product page preststahop 1.7.8.6
Ress replied to pavel83's topic in General topics
Can you also show in which function you wrote that code? In a specific hook? -
[SOLVED] Hide subcategories list in a category page
Ress replied to Alberto97's topic in General topics
In default theme: your_prestashop/themes/classic/templates/catalog/listing/product-list.tpl You can comment on the part where the subcategories are added. {block name='subcategory_list'} {*{if isset($subcategories) && $subcategories|@count > 0}*} {*{include file='catalog/_partials/subcategories.tpl' subcategories=$subcategories}*} {*{/if}*} {/block} -
Javascript addEventListener isn't working
Ress replied to TonyKapa's topic in Addons, modules and themes developers
Did you clear the cache? Both from prestashop, in case you have it active, as well as from the browser? Specifically, you could see in the source of the page, if your code is in the file (custom.js, header.js). -
In your_prestashop/themes/classic/templates/_partials/header.tpl <div class="col-md-12 hidden-sm-down text-xs-center" id="_desktop_logo"> <div class="header-top-right col-md-12 col-sm-12 position-static"> Also add this css lines: #header .header-top > .container > .row:first-of-type { flex-wrap: wrap; } /*increase logo size */ #header .logo { width: 200px; }
-
Are you using the default theme?
-
Id product attribute current in product page preststahop 1.7.8.6
Ress replied to pavel83's topic in General topics
Can you detail a little? Where exactly do you want to call, directly in the controller? Through a module in a certain hook? -
Hi, You should change the parameters between them, like this: WHERE pa.`id_product` IN (' . implode(',', array_map('intval', $products_id)) . ')
- 1 reply
-
- 1
-
The best way to create a new order in my custom module
Ress replied to Stepel's topic in Core developers
From what I see in the database, if you set the amount and leave the price as it is, it is saved -1 in the "price" property. -
Neeed approvation of the new user registration
Ress replied to nasreddine hafidi's topic in General topics
Rather than develop this functionality, I think it is more advantageous to buy a module that does this, there are quite a few to choose from. https://addons.prestashop.com/en/search?search_query=customer approve -
The best way to create a new order in my custom module
Ress replied to Stepel's topic in Core developers
If you set the price directly, yes, it is the one without tax. That property works when you set the discount amount. -
You can do this from the translations section.
-
The best way to create a new order in my custom module
Ress replied to Stepel's topic in Core developers
Which way did you set the discount? Did you put the price directly? Or did you set a discount (amount or percentage) -
If you can't find the modules in the Module Catalog, they may already be installed, so you will find them in Dashboard -> Modules -> Module Manager.
-
Pack Product choice product combination
Ress replied to Striker Production's topic in Looking for a module or a theme
How would you like the products to be in your order? There would be about 2 possibilities, as a pack, or individual products (in which case I guess it would help with stock keeping, invoicing etc). -
Hello, Go to Dashboard -> Modules-> Module Catalog, and install modules like New products block, Specials block, Top-sellers block or Viewed products block.
-
The best way to create a new order in my custom module
Ress replied to Stepel's topic in Core developers
Hi, For the value to include taxes, set property reduction_tax to 1 (from the SpecificPrice object, of course). -
Yes.
-
You must give an array of carrier references (`id_reference` from ps_carrier_table) as a function parameter.
-
Get ID's of last Products Sold
Ress replied to TonyKapa's topic in Addons, modules and themes developers
Hi, The products purchased are in the ps_order_detail table. Basically, you just have to make a select, ordering them in descending order. If you want something more complex, you can also check the current status of the order that the products are part of, so that it is not a canceled order, or one that has not yet been processed. -
The list of categories is retrieved via API from Prestashop. You can see exactly how they are retrieved: your_prestashop/src/PrestaShopBundle/Controller/Admin/Improve/ModuleController.php, getCategories() method more specific: your_prestashop/src/PrestaShopBundle/Service/DataProvider/Admin/CategoriesProvider.php, getCategoriesMenu() method
- 2 replies
-
- 2
-
- ps1.7
- prestashop1.7
-
(and 1 more)
Tagged with:
-
-
Have you tried to make any other changes through the template? Are the changes made?
-
You could put it in catalog mode, and in this way, customers can see the site, the products, but they can't buy. But to schedule it between certain hours, it is not possible from the default settings in PrestaShop.