Jump to content

D D

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by D D

  1. Hello, I have a module called ‘Mail alerts’ in my Prestashop 1.6 site. The module seems to be active (as it regularly sends emails to a specific email account). It also has its files and folders in my Prestashop installation in cPanel. However, the module in question is not visible under 'Modules'. I tried to filter by ‘Installed modules’/‘Uninstalled modules’, ‘Enabled’/’Disabled’, but the ‘Mail alerts’ module doesn't show up. Instead, when I go to ‘Modules’ list and search for it, it shows as available for install. The strangest thing is that I have a copy of the same Prestashop site (made with Softaculous on cPanel). The 'Mail alerts' module shows as installed on the copied site, but for some reason it's not showing on the original one. Any ideas?
  2. Hi all, Thanks to this post I managed to understand how RSS images work. Obviously, I was looking at the wrong place. It turns out that changing the image resolution from Preferences -> Images isn’t needed, because I can use some of the predefined entries with higher resolution there. Therefore, in order to display high resolution images in my RSS feed, I had to change the item type in /public_html/modules/feeder/rss.php. I changed it from 'small_default' to another one with a higher resolution such as 'medium_default' or even 'thickbox_default': echo "<![CDATA[<img src='".$link->getImageLink($product['link_rewrite'], $image[0]['id_image'], 'small_default')."' title='".str_replace('&', '', $product['name'])."' alt='thumb' />"; Now the images from my RSS feed look crystal clear.
  3. Hi all, Oddly, the RSS module that I use is installed in a folder that doesn’t correspond to the module's name and most probably that caused my confusion. Anyway, as displaying prices in the titles of my RSS feed is not needed, commenting out the code for the price in the product title did the job. So, I opened the original rss.php file in public_html/modules/feeder and commented out the line that contains the code for displaying the price: echo "\t\t\t<title><![CDATA[".$product['name']."<!-- - ".html_entity_decode(Tools::displayPrice(Product::getPriceStatic($product['id_product']), $currency), ENT_COMPAT, 'UTF-8')." ]]>--></title>\n"; Now, there are no more prices attached to the product titles of my RSS feed. I’m very pleased with this solution. P.S. Still not sure about how to only hide the price for products that actually don’t have a price though.
  4. As the images in my RSS feed appear as 98x98 and as the only image entry with the same size is small_default, I thought that I should go ahead and change its values so that I get some better display results in my RSS feed. I noticed that when I change the resolution for small_default in Preferences -> Images the backend seems to accept and save the new values. For example, I change them from 98x98 to 250x250. However, when I check the values in /config/xml/themes/default.xml, the value for small_default is still the same – 98x98. So, I modified the values directly in default.xml and then saved the changes. Nothing happened. I also tried with regenerating the images from Preferences -> Images, without success. The size of the images in my RSS feed remains 98x98. I also cleaned my browser’s cache, but still no difference. Any suggestions welcome. Thank you.
  5. Hi again, Currently, my RSS feed looks more or less like this: There's a price attached in the end of every product title. That's fine for the products with actual prices, but the problem is that the price of 0,00 appears when there are products without prices in the RSS feed. Does anybody know what exactly should I change and where, so that the price doesn't appear in the RSS feed (especially for products without price)? Thank you.
  6. Hi joseantgv, Are you aware of any free solution for this problem? Thank you.
  7. Hi all, I’m trying to find a way to hide the price for products in my RSS feed that don’t have price. Currently, my PrestaShop 1.6.0.9 site displays a price of 0,00 for such products even if I already unchecked the options such as “Available for order”, “Show price”. Such products do appear without price on the site, but not in the RSS feed. It’s the same even if I change the product type to “Virtual product” for example. So, in the case of displaying products in an RSS feed, for some reason PrestaShop thinks that a product should always have price despite the fact that the product is actually without a price. Any suggestions welcome!
  8. Hi everyone, The images in my site’s RSS feed show as somehow washed out, blurry and not in detail/focus. I noticed that there is an option to set the pixels for width and height for the images in Preferences -> Images. The images in my RSS feed have the corresponding resolution to the small_default image type in Preferences -> Images. But changing these values don’t reflect in image resolution quality in the RSS feed. Does anybody know where I should set the image resolution for the RSS feed? Thank you.
  9. Hi again, Actually, the solution from David Eschmeyer from this tread did the trick. Issue resolved. Thank you.
  10. Hi again and thank you for your suggestions. In the end, I ended up with creating new fields in Catalog -> Product Features which is a great option that I wasn’t aware of. That did the job for me. Cheers!
  11. Hi all, I’m trying to find a way to show only specific products under the “New Arrivals” tab. My site is currently showing the latest products there (created during the last 60 days). However, I’m in a process of moving some old products from another site to the current one. And unfortunately, these products display as “New Arrivals” which is not what I want… I already had a look at the possible options for changing the date of the newly added products from the database, etc. But I was unable to find a guide on how to do this for my version of Prestashop 1.6.0.9. Therefore, my question is: Are there any other methods of hiding specific products from the “New Arrivals” tab without having to change entries directly from the database? Thank you.
  12. Hi again, I managed to achieve the desired result by additionally changing the field names in the product.tpl file and by creating an entry for the primary language version of the site in /themes/default-bootstrap/lang. Then I had to add a translation for that new entry in Localization -> Translations -> Modify translations. The issue can be marked as solved. Thank you for your support and talk to you soon!
  13. Hi again. I would really appreciate if someone could point me in the right direction. Thank you.
  14. Hi all, I’m currently investigating possible solutions to my problem of customizing some already available fields in Prestashop. My online bookstore should have the following 3 fields right after the Product/Book Title: 1. Publisher, for example: Pearson Publishing 2. Year of publication, for example: 2008 3. ISBN, for example: 123-456-789-1 or 123-456-78-10 I’d like to use the already existing fields for "Reference code", "EAN-13 or JAN barcode", and "UPC barcode" for "ISBN", "Publisher", and "Year of publication" respectively. Just like in the following examples: (old name) Reference code -> (new name) ISBN -> (sample entry) 123-456-789-1 or 123-456-78-10 (old name) EAN-13 -> (new name) Publisher -> (sample entry) SAGE Publishing (old name) JAN barcode - > (new name) Year of publication -> (sample entry) 1999 I already managed to change the labels/names of the original fields to the ones I want to use for my project. I changed the type of the fields to isCleanHTML and I also changed the number of characters that these fields accept. However, I now face the following issue: 1. The fields don’t seem to accept more characters even if I change the value from 13 to say 17 or more. 2. As my site is available in two languages, I want these customized fields (eg. “Publisher” and “Year of publication” ) to appear with their translated versions based on the language version of the site. PrestaShop version: 1.6.0.9 Can you advise on the correct steps for achieving this? Thank you.
  15. Hi musicmaster, Yes, my plan is to manually enter the data. All I need is to have that HTML code filled automatically for every new product, so that I can just add the new entries between the tags. I noticed that the "Short description" box uses TinyMCE for text editing. I'm wondering what would be the correct way to include the HTML code in that field? P.S.: My PrestaShop version is 1.6.0.9.
  16. Hi everyone! I’m new to Prestashop and I’m currently trying to achieve the following: Our online bookstore should have the following 3 fields right after the Product (Book) Title: 1. Publisher, for example: SAGE Publishing 2. Year of publication, for example: 1999 3. ISBN, for example: 123-456-789-1 or 123-456-78-10 I already tried to edit the fields accordingly, so that they accept such content, without much success. Then I thought that it would be a better idea to just try to add some HTML code in the Short description field, so that it appears every time a new product is being created in the store. This second idea seemed more easily achievable, mostly because our site is available in two language versions. However, I didn’t manage to implement it. So, my intention is to have the following code entered in advance (prepopulated) for every short description of every new product: <p id="publisher">Publisher:</p> <p id="year-of-publication">Year of publication:</p> <p id="isbn">ISBN:</p> Could you please advise if it is possible to achieve this? And if it is possible, where exactly should I add my custom HTML code? Thank you.
×
×
  • Create New...