Magento Short Description Bug - magento

i got a problem with magento.
if i click on a product in grid view, the short description is missing and the product name is below the product picture (not the case for list view), but as soon i swap to list view AND swap back to grid view, everything is fine?! the product name is above the picture and the descrption is shown.
thanks

Access this file:
app/design/frontend/base/default/template/catalog/product/list.phtml
Note: Remember to copy to your template
It is divided into 2 parts list and grid, understand and modify the code to fix the name or short description

Related

Let Customers to Input a fixed product quantity in quantity box using a button or radio button in the product page in Prestashop 1.7.x

Greetings of the Day!
I need to have the condition on the product page where we can let our customers input a fixed product quantity in quantity box using a button or radio button in the product page along with the default functionalities with the add to cart mechanism.
Why I need this is because I am using the product volume discount list on the product page and I want the customer to select the quantity directly from the mentioned list.
Pls, find the screenshot attached for reference.
Screenshot for reference
Customers can select the quantity directly from the red rectangle shown in the image through a button/radio/link click.
Hope somebody will help me out with this for which I would be greatly obliged.
Thanks.
to achieve that you should change the responsible tpl file, unless there is an override you should find it in /themes/YOUR THEME NAME/templates/catalog/_partials/product-add-to-cart.tpl
There look for the block {block name='product_quantity'}, right after you will see the input used for it, just build your html structure being aware that you should keep the same name and probably also the same standard classes (but you can add yours as well).
After that style your new radio input in /themes/YOUR THEME NAME/assets/css/custom.css and the trick is done.
I hope you are familiar with tpl/smarty if you have to inject some vars from php, in case you don't need that it is just pure html and css.
Hope my answer helped.
Simone

Magento Category - add picture

I've got magento template. I have tried adding a custom block to the RHS of the Catalog, eg:
Catalog
|-Applications
- Applications List 1 Column, Apps2 column, Custom Block
I can create App columns and list under all sub menus, but when i'm trying to add Custom Block (pic in this case), to right or left then the Picture shifts the Apps columns :/
See the screenshots.
thank you!
http://s6.postimg.org/5grafpoip/screenshot.jpg
You can use code given in following link.
https://magento.stackexchange.com/questions/8463/how-to-get-category-thumbnails-in-navbar-menus
It uses observer to add category thumbnail in navigation menu.

Display product in list using widgets in magento

I am working on magento home page and need display products on home page. I have used widgets to display products. I want to display product in list one by one but it shows in grid. Right now I am showing the products in list.
my code is :-
{{widget type="highlight/product_popular" title="special" products_count="3" template="highlight/product/grid.phtml" class_name="highlight-popular"}}
Using this code the product is shown in grid but actually I want to display it in list like:-
1. Product1
2. product2
Please, suggest how I can do this.
whatever you are putting in your grid.phtml - change it as suggested in
base/default/template/catalog/product/list.phtml as per list mode, code followed by it

Magento Go - Adding attribute above product description in Grid view

Im wanting to add the Brand name (or designer name in this case which i have made a new attribute for) just above the product description in the Category view (grid) but cant figure it out.
As its Magento Go i have no access to the code, other than XML updates for the category itself.
Ive looked everywhere and would value any help.
Thanks
If you are cant get to the template phtml codes, you can put it on by admin.
Open catalog / attributes / manage attributes, find your attribute and in the properties set to
Visible on Product View Page on Front-end
Used in Product Listing
But it will not be on position you want.
You can edit CSS for the template and set an absolute position for your attribute.
Next way is to add in the admin in category XML layout, but this you need to do for each category. (Custom Layout Update)

Product image is not showing up in poduct page where as showing list

Magento product images are showing in list or grid. when i click on the product, the product image is not displaying in the product page. Remaining things Add to cart, Add to compare, wishlist everything is working fine. I think the media.phtml is not loading, Please suggest me in right way.
Thanks in advance.
Firstly, you must confirm whether the media.phtml is loaded. You may insert some dummy characters in the media.phtml to see whether it will show in the frontend.
Thus, if the characters show, congratulations, you are just close to find the problem. In this situation, most problems are caused by image attributes not loading to the model object. Simply just reload the object with the following snippets:
$_product = Mage::getModel('catalog/product')->load($_product->getId());
Otherwise, you may confirm the following things:
Is the media.phtml is overload by the other theme?
Compare with the default catalog.xml with your current one, to find out the media.phtml is correctly loaded, including path, block type, name, as, etc.
Check the permission settings for the xml and template files
These are stuffs coming to my mind when reading your problems. Hope it helps.

Resources