Magento Related Products Sidebar - magento

In Magento I took and duplicated a theme and made a few changes to the second one. Called it recipes, removed the price, etc. All worked out fine except! When I add a related product it shows up and says "other featured products". This is what the old theme said.
After some research i am seeing it is pulling this file from the "app/design/frontend/base/template/catalog/product/list folder instead of the theme folder ?
http://www.colbrookkitchen.com/recipes/pico-de-gallo.html

Turn on template/path hints in your administration area:
System -> Config / Advanced -> Developer
This will show you exactly which template and block it belongs to. The product list template you are referring to just renders the products, it's possible the theme does not also include the header in that file.
Alternatively, a quick grep (or search via IDE if you are on Windows) for 'Other Featured Products' is a good solution, since that should be a fairly unique string.

Related

Changing Magento theme based on referral URL

I'm a brand-new Magento developer, coming from more general web-dev.
What I'm trying to do is create a "Kiosk Mode" of a website to be displayed within an app. Kiosk mode is a stripped-down version of my existing Magento site for BROWSING only; no customer login, no cart. Don't show "Add to Cart" stuff on product pages, etc. I want the site to draw from my existing product catalogue. My site currently has three store-views, representing three different physical locations with different inventory (business is mainly local pickup).
From what I'm reading it seems like a Theme is the way to go here, but I've got a couple of questions:
1) Can I drive theme from referral URL? I've looked at this page, but the answer seems shaky and I don't want to dive in to the codebase on spec if I can help it:
Change magento theme/storeview based on referring URL?
2) Does everything I'm describing above seem possible using Magento themes? Can I hide cart, change product page layout to remove "Add to Cart", etc?
Many thanks in advance!
Kim

Magento, category, details button

I'm trying to teach myself Magento, and basic programming.
In the product lists I have, beside the "add to cart" button is a "Details" button. It has a typo in the label, and says "Detalis".
I need to fix this, but I can't find where/which file it is in. Can anyone point me in the right direction?
Generally,product list layout came from list.phtml file.
file location:app/design/frontend/default/my_theme/template/catalog/product/list.phtml
(or)
Please enable the path hints via admin panel.It's show all block paths.
How do I turn on template path hints?
To turn on template path hints in Magento:
log into the magento back-end admin
Go to System -> Configuration in the main menu
Go to Developer on the bottom left under ADVANCED
Switch to the store view on the top left to your current website or
store view.
Under the Debug tab of the same Developer config page you will see a
new option appear that will allow you to turn on/off template path
hints.
Remember to clear your cache.
Generally, I believe that the templates associated with products would be located in the
app/design/frontend/default/your_theme/template/catalog/product/
However, I am unsure of your site template files etc, especially if you are doing things yourself.
To make your life easier, I would suggest installing a program called Agent Ransack which I have found to be invaluable when searching for a needle in a haystack.

Magento content does not show up

It is the first time I use Magento. I have installed Magento with a custom theme. When I add category and product from dashboard, they doesn't show up on the website, just a blank content (header, sidebar and footer works fine, more precisely you can see it at here)
I found the added product from sitemap with css gone. What might be the reason for this? Why categories and content doesn't appear on the website? Why css is broken on the product page?
Magento is designed to be as efficient as possible and the learning curve can initally be daunting to people encountering it for the first time. A couple things to try:
Make sure that the category you've created, found in Catalog > Categories > Manage Categories, the option "Include in Navigation Menu" set to yes (this should automatically "create" the navigation bar for you)
In the admin section of your site, navigate to System > Index Management and select all and reindex them all
In the admin section, navigate to System > Cache Management and flush the cache
The last two steps, when developing your site, are sometimes necessary to see the most up to date information on your Magento install. Something which may make your life easier is in the Cache Management page, select all of the cache types and choose to disable them for now. You'll want to re-enable them once you make the site live.

Why wouldn't a category menu be displaying on a magento theme?

I'm trying to set up a dynamic menu in a Magento store (v1.7 community edition with the hellowired theme) and can't figure it out why on earth is not being displayed on my home page.
I don't know if there's a mistake in the call on the .phtml files of the theme or if I'm missing some configuration. I have already configured it as described in the theme's documentation and set several products and I'm still not seeing the menu displayed.
If I hard code the category call, it works fine, but it's just a workaround since I need it to be dynamic.
Turns Out for the theme I was using (The Hellowired one, but it appears to apply to several) it was required to set-up all categories under the Default Category. This question was answered to me by an admin of the theme site.
Make sure that the flag Is Active and Include in Navigation Menu set to "YES" from admin panel under General Information Tab in Catalog->Manage Categories.

display custom attributes on Virtuemart browse page

I need the browse page to show quantity box, custom attributes, and Add to Cart button all together.
It doesn't show it at all. Only when you go to the product page, you can see them.
Any solutions?
Thanks, Ahmed.
Ahmed, you'll have to modify the template directly to do something like that. VM uses a large number of template files written in PHP. If you're using the default template, you can find them here:
components/com_virtuemart/themes/default/templates/
From there, it takes a little looking around to figure out exactly which template you need to edit. If you need to edit a browse template, my recommendation is go to your VirtueMart Administration in Joomla backend and look at Admin | Configuration | Site | Layout to get an idea of which files you're using. It will probably say "Default" in the dropdown, with a Configuration link directly below. Click that link and look at the very first item, Product List Style. From the description of your layout desires, you might be using Flat Product List.
The main file for editing that layout is:
components/com_virtuemart/themes/default/templates/browse/includes/browse_listtable.tpl.php
If you're a programmer, you should be able to look thru the code and correctly guess which code elements are being used to display VM product details. If you're not a programmer, you can still fake it by commenting out sections to see what "goes away" on the actual product page. Use what you learn to strip out useful code and move it around.
Another useful file to pull VM product code from is:
components/com_virtuemart/themes/default/templates/product_details/flypage.tpl.php
This is the actual product view (unless it's been changed in VM config), and contains pretty much all the common code elements that extract product details. You should be able to lift some of that code and place it where it needs to go in other forms.
Good luck with all of this. I find VM coding painful, and community support in the VM forums can be... sparse...

Resources