I am using magento custom theme. When I open my product page, while loading the page the default zoom function buttons are visible for a moment. When page load completely the buttons are disappear.
Let us look the images for more info:
Before (while loading)
After page load
Why this happened so? I am installed a new custom theme. This theme not provide any image zoom functionality. I think the zoom buttons are load from frontend\base\default\template\catalog\product\view\media.phtml. Why my site load this page, since I use a custom theme the site should use the theme's media.phtml file. How can I solve this issue?
And when I try to install some product zoom plugins, these are not working in my theme. The plugin files are saved in my default theme directory. And I manually copy the plugin files from default to custom theme directory, but no luck. Please refer the LINK for more details. Is there any way to rectify this?
Please help me ...I am using magento 1.9.0.1
First of all you need to check which package you are using for you theme, you can check if media.phtml is being called from rwd folder.
i.e. /app/design/frontend/rwd/default/template/catalog/product/view
Or you can enable path hints and locate the phtml files, and accordingly that you can put the design files of custom module there.
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.
or check the below link.
https://support.sweettoothrewards.com/entries/21255937-How-do-I-turn-on-template-path-hints-
Related
I'm new in WordPress
I misunderstand one thing about the theme use in WordPress
For example, I wanna create the as same website as this I purchased this template.
But when I installed the theme in WordPress it shows me the default Index.php file with little info, used my purchased theme
And when I purchased the theme there exist all src files of the above website.
How I can use my purchased src files of website that will work all function for ex: logins with db?
Thanks in advance!!!!
After you purchased the theme, you probably have just installed the theme and haven't created any pages or tweaked any settings. So if you want to get the same look as that of the preview website, you probably have to check whether the developer has provided any dummy data for importing.
Most of the themes listed in ThemeForest would have the option to import dummy data, so that customers would be able to install some pre-made posts, pages, config, etc. This might be there inside the custom settings page(as a single button to download the content) of the theme, or maybe they have provided it in separate XML files for you to import. If the files you have downloaded doesn't have it, make sure you downloaded All files & documentation. Here's a sample screenshot:
My guess is that you might have only downloaded using the Installable WordPress file only option.
If you are still unable to get the dummy data, probably you have to ping the support of that theme asking them to provide the dummy data.
I used to have a theme installed and woocommerce page was displaying this theme's style I decided to try another theme but I changed my mind and restored it back to the old theme after applying a new one.
But the Shop page on Woocommerce is still showing the new theme style and wont revert to the original design.
I tried the following
1- clearing cache both on woo-commerce/status/clear template cache - on the browser and using clearing cache plugins with now use.
2- deleting and reinstalling the theme.
3- changing shop page to another one
Any resolution or advice are highly appreciated
clear cache from your server and browser, if still, you can add a variable at the end of URL like www.domain.com/?v=1
I'm trying to edit the Woocommerce checkout page.
The file is located in
I did some changes in the form-checkout.php file but in my browser i get to see nothing at all!
I even opened it in different browsers and opened the website in incognito mode.
I deleted all the php in form-checkout.php to see if i could see any changes but nope. I'm wondering if this is the right file to edit.
Thanks in advance
That is not the way to make changes to any plugin.
* Never edit core plugin files. *
Changes will be lost on future updates.
Read the manual. You will find you will have to copy files to your themes folder.
It's ok but not the best practice to modify WooCommerce templates.
WooCommerce has a override template mechanism.
By doing so, your modifications will not be missing when you updating WooCommerce.
If you don't see any changes when you modifing the template file directly, your theme may have overridden WooCommerce templates.
You can check which template is overridden at wp-admin WooCommerce->System Status page. You can modify the files in your theme, or copy it to the child theme which is the better way.
I am using a custom theme in magento. Now I install a pluging for product zoom functionality. But the plugin is not working. Finally I found that the while installing the plugin, the files are saved in default theme directory, but I am using a custom theme(themeheros).
To make the plugin working I cut and paste the
app/design/frontend/default/default/layout/[extension_name].xml
app/design/frontend/default/default/template/[extension_name]/*
files to
app/design/frontend/[your_interface]/[your_theme]/layout/[extension_name].xml
app/design/frontend/[your_interface]/[your_theme]/template/[extension_name]/*
But no luck. The plugin is still not working.
For product zoom I use number of plugins but no one was worked in custom theme.
But in my local machine these plugins are working because there I am using the default theme.
How can I make the plugin working in Custom theme in Magento. My magento version is 1.9.0.1.
Which javascript library does this module use? jQuery? Prototype? If
jQuery check existing noConflict() method.
Try to put layout and
template files in base/default directory.
In most situations any javascript lib doesn't work because of custom theme. For example in default magento image wrapper block is <div class="product-image"> and any module try to select this block $('.product-image'). But in your custom theme this block can have another class and module initialization will not work. So I recommend to switch to default theme.
Open on your product view page view:source code and find how much time jQuery (if it module use jQuery) attached
According your comment check if current handle use on this page. Anyway upload here your layout xml in your first post.
An application that I need to work on is running on Joomla! 2.5.8. For the life of me, I cannot find a way to edit the main file (index.php) of a template and see those changes on the page using the template.
How do I do this?
You can do this in the Joomla backend.
Go to Extensions >> Template Manager
Click on the Templates tab
Click on TEMPLATE_NAME Details and Files
Then on the left hand side, click on Edit main page template.
This will open a page allowing you to edit the index.php file for you template. Do note though that this is to edit your template and not extensions.
Hope this helps