Prestashop 1.7 product list, product view changes - smarty

I'm trying to add some extra row after product image in prestashop 1.7 product list page.
I want to add manufacturer title above product title.
Already tried:
Change product-list.tpl code.
.../themes/theme_name/templates/catalog/listing/
but nothing happened.
Here is product image with some info about my problem:
Maybe some one know how to achieve this? Thanks.

You have to edit this file:
prestashop/themes/theme_name/templates/catalog/_partials/miniatures/product
Under the block named product_thumbnail (also external to block if you want)

Ok, I found something by my self. I'm not so sure why it happened but it was some of ".../app/cache/dev/..." - files.
Step by step:
1. Download website file
2. Search for specific classes
3. Found those classes on two files product.tpl and f33as2f1a2sf5asfa2sfasf20132.file.product.tpl.php
4. Then back to my ftp found that second file with long name and change a code there...
5. It works
Maybe its nasty work-around, so that's why I'm asking for more information for those who know more about things like this. Maybe there is something in back office (prestashop dashboard) settings... Developer/production mode or something? because by my opinion is just a nasty work around and I want to know more and learn more about it. Thanks. <- UPDATE: -> its useless to edit cache files, you need to make changes ant clear cache from terminal || or admin dashboard.
UPDATE BELOW (in comments)--->>>

Related

Magento changing mini cart checkout behaviour

I'm trying to change the behavior of my mini cart checkout button to take people to a different URL then what we currently have.
I can see the code i need to change in chrome's inspector but i can't for the life of my find the file to edit on our server.
Can anyone point me in the right direction?
Just copy the line you want to change and use find tool of your IDE to find this line of code.

magento Manage Products* logs me out

Firstly let me say that I haven't changed anything on our magento installation.
This problem occured 1-2 weeks ago after updating stock products. After that an asterisk mark appeared next to Manage Products link.
When I click the Catalog -> Manage Products link it goes to /index.php/enhancedgrid/catalog_product/
I've searched all over the net but couldn't find the reason.
Thank you,
This looks like a 3rd party extension causing this. I see that they are actually quite a few like this. Ex: http://www.magentocommerce.com/magento-connect/enhanced-admin-product-grid.html.
You can tell by the controller name enhancedgrid in the url you listed which is not a core controller for magento.
I would look for this particular extension and disable it completely in the proper xml file located in your app/etc/modules folder (or uninstall it). Then your store should behave normally again.

Joomla! 1.5 Category Blog Layout parameters update in database but not when displayed

I apologize if this is an easy question and I was just googling the wrong keywords. It's been a few years since I've used Joomla! but got handed a site to make some changes to, that someone else originally developed and can't seem to figure out what's going on. I'm running Joomla! v1.5.26.
I'm trying to add a blog section to the site, so I created a blog section and category and then I created a new "Category Blog Layout" in my menu and set the Columns value to 3:
However, whenever I view the page, it keeps showing 2 columns. So I went to phpMyAdmin and found the menu in jos_menu and confirmed that the database did in fact get updated:
So next I opened up /components/com_content/views/category/tmpl/blog.php and added this to to the top of the PHP file to see what values were being loaded:
<?php
print '<pre>';
print_r($this->params);
print '</pre>';
?>
Which produced the following results on the front end:
...
[num_leading_articles] => 1
[num_intro_articles] => 4
[num_columns] => 2
[num_links] => 4
...
So for some reason, even though I've set the values to update, and they do in fact update in the database, they are not updating on the front end. I've tried clearing the cache and all that fun stuff, without much luck. If it was just "num_columns" having an issue I could probably just override that functionality. However, it appears to be doing the same thing with all of the parameters, not just number of columns. I'm just using that as an example.
I haven't ruled out the possibility that it's a conflict with some third-party plugin yet, but am trying to see if maybe I'm missing something obvious and someone can point me in the right direction.
--UPDATE: 12/4/12--
So it appears to be a conflict with the sh404sef plugin. I'm not exactly sure what the deal is quite yet, but when I disable the plugin it works fine, but it happens again once I re-enable it. Now to see if I can figure out what's wrong with the plugin.
In Joomla! 1.5 while the parameters are being saved the implementation is effected/affected(?) by the template in use at the time.
Check your templates index.php, or if present the override for com_content's Blog layout (usually found in yourSite/templates/yourtempalte/html/com_content/category/blog.php
You will probably find the override either doesn't handle the columns or has a bug in it.
Okay so I figured out my own problem. As I stated above, I discovered the problem was with the sh404sef plugin. Apparently anytime you make changes to the menu layout settings, you have to purge your entire SEF URL list and then rebuild it. It seems quite strange that we'd have to do that every time, but I guess that was intentional for some reason. Anyway, it's working now. I just wanted to make sure I posted a solution for anybody else who may stumble across this.

Google Checkout button not appearing on cart page

Hope you guys don't mind me asking this question, but I find myself at a loss to why this is happening and need some suggestions on how I might resolve the issue. If I shouldn't ask these kinds of questions, please let me know.
Currently I am working on a Magento 1.9 site that was upgraded from 1.8 and when I enabled Google Checkout, the button doesn't appear on the cart page (/checkout/cart/). I went back to the default template that Magento uses and it still didn't work.
I then tried enabling Google Checkout on a clean copy of Magento 1.9 and it worked. Then I tried replacing the core mage checkout folder with the ones from the clean copy of Magento and that didn't work.
So I have test the layout, template and core mage checkout files and nothing happens.
I also tried accessing Google Checkout directly with this piece of code:
<?php echo $this->getLayout()->createBlock('googlecheckout/link')->setTemplate('googlecheckout/link.phtml')->toHtml(); ?>
Does anyone have any suggestions? Thanks so much!
First, turn the default template on for testing, just to be sure. Clear all your caches and try again. Make sure that there aren't any "hidden" elements on the page displaying it. It may be helpful to turn on template hints to see if the block exists as anticipated but does not render any content, or if the block actually does not exist as anticipated.
If no joy, check to make sure that Google's critera are met. Taking a look at that template and block, there are a few checks that need to pass to get checkout:
Mage::getModel('googlecheckout/payment')->isAvailable($quote)
$quote->validateMinimumAmount()
Every single product in the cart must return false to $item->getProduct()->getEnableGooglecheckout() (otherwise, ti looks like the template wants to display an image)
Report back if you still have problems :)
Thanks,
Joe

How do I edit the actual content of this TYPO3 plugin object?

I've inherited a site using TYPO3 and I don't have that much experience with it. I have a page with a left column in the layout. In that left column is an object using an "insert" plugin. On the actual page is a graphic map. I'm just wondering how to edit the actual content that this is referring to. Here is a screenshot:
Here it is a bit more zoomed in...
Based on all of the meta-data this is some kind of "Magento"/"Insert" plugin being used. Again, the question is, where do I edit/change the actual content associated with this object?
If I click on the plugin icon to the left of the "Magento Left" label and select "edit", this is what I get:
Clicking the "Plugin" tab gives me this:
HELP!
My guess (and it is a guess, since I've never used Magento before) is that you can't, at least not through the TYPO3 backend. The Magento plugin is probably creating the output itself and then piping it into the plugin directly. So to alter the output you'd need to go into the Magento plugin's source code and edit that.
I have also not used this particular extension, but you might have success in clicking the plugin icon just to the left of the "Magento Left" title. At any rate, if this is the plugin called "Magento", it seems to be simply a bridge for content from somewhere else, and the displayed content should then probably be edited somewhere else. All speculation here. Further info about the plugin might be obtained from
http://typo3.org/extensions/repository/view/fb_magento/current/.

Resources