There are two occurrences in list.phtml, so don’t forget to replace it twice. Only do this when it’s the only solution of displaying right prices, since loading the product takes extra time, compared to loading the indexed product price.
Ever had that the category tree does not show specific subcategories that are present though?
Than follow these steps:
1. Make a backup for if anything goes wrong (running all the steps is on your own risk of course).
2. Run this query
SELECT c.entity_id, c.children_count as original_children_count, COUNT(c2.children_count) as `children_count`, c.level as original_level, (LENGTH(c.path)-LENGTH(REPLACE(c.path,'/',''))) as `level`
FROM catalog_category_entity c
LEFT JOIN catalog_category_entity c2 ON c2.path like CONCAT(c.path,'/%')
GROUP BY c.path
3. Check if there are still minus children_count categories with:
SELECT c.entity_id, c.children_count as original_children_count, COUNT(c2.children_count) as `children_count`, c.level as original_level, (LENGTH(c.path)-LENGTH(REPLACE(c.path,'/',''))) as `level`
FROM catalog_category_entity c
LEFT JOIN catalog_category_entity c2 ON c2.path like CONCAT(c.path,'/%')
GROUP BY c.path
If anything went right, it should show a + sign before the category in the category tree in the Magento admin again. Good luck
This error is likely caused by a category copy/duplicate plugin.
Thanks to: http://magento.stackexchange.com/questions/34730/not-showing-sub-categories-in-category-tree-in-manage-products-page
Magento is quite limited in tools like conversion optimalisation like A/B testing or multivariate testing. That is why I created a very simple php script that you can put directly into a phtml file. It’s a bit hacky, that it’s not via the core, but it works though and is fast. This script has its limitation, see the note on the bottom.
If you want to variate the text of a button on the product page and go to a file like /app/design/frontend/default/default/catalog/product/view.phtml and insert this into the header (in the php-code):
If you want to track the variable in Google Analytics, you can edit the template file /app/design/frontend/default/default/googleanalytics/ga.phtml , so it gets like:
Note: This script could not work properly if you’re using Full Page Cache. Also it could not work with the page block html cache. So, work in progress …
How to let Lesti::FPC Full page caching work with Vinagento Layered Navigation in Ajax mode?
I just tried some random settings and this seemed to work:
In System->Configuration->Sytem->Lesti FPC add the following to Session Params: catalogsearch_advanced_result_ajax, catalog_category_ajax_view, catalog_category_layered_ajax, catalogsearch_result_ajax
In System->Configuration->Sytem->Lesti FPC add the following to Uri Params: id, category, page_id, p, limit, dir, order, mode, price, cat, manufacturer, no_cache, color, ajax, your_attribute_code1, your_attribute_code2,
How to let Lesti::FPC Full page caching work with Amasty Layered Navigation in Ajax mode?
With a Magento blog it’s quite easy exporting your products to an Ebay store with free plugins like M2EPro. That is a free plugin, bought by Ebay, that’s able to export your full shop to other languages. When you have an Ebay store, it doesn’t run by itself mostly. Here are some optimisation tips (Ebay SEO tips) in order to get more visitors and get more orders.
1. Set up the store
In order to set up the store, make sure you use the documentation of M2EPro. If you’re stuck, send them a mail. Their support is great!
When the store is set up, make sure you have set shipping cost for all countries, which are reasonable. Also communicate your pro’s in the product’s description template.
2. Get reviews for good SEO effort
Ebay is all about trust. In order to getting a get reputation, get enough reviews. The more reviews the better
3. Enter meta information in Ebay (meta title and meta description)
Just like regular SEO, with your Ebay Store meta description and meta title is very important. Set up your keywords here: http://cgi6.ebay.com/ws/eBayISAPI.dll?StoreMgmtViewCustomKeywords . Don’t use to much keywords, as it will be used in the meta title, which shouldn’t be too long as you know as a SEO expert.
4. Use enough content in your home store page
Like almost every site, the homepage has the most link value. So use this power of the homepage. Create some content in the header text and state all the keywords you want to use.
5. Build links to your store
Make sure you get found in Google as well with enough links to your Ebay Store. Make use of linkbuilding. Use your own site (maybe it has some value) and link to your Ebay Store.
6. Use one Ebay tld
Ebay has the strange behaviour that it’s store functionality has many different tld’s. Like stores.ebay.co.uk and stores.ebay.com . If you use SEO and you only use one language and one region, build links mostly on one tld (like .co.uk) in order to maximise the potential of one domain, so it gets all the link value. An example of such a Ebay Store is QSP Products.
// Any extention would work $uploader->setAllowedExtensions(array('jpg','jpeg','gif','png')); $uploader->setAllowRenameFiles(false);
// Set the file upload mode // false -> get the file directly in the specified folder // true -> get the file in the product like folders // (file.jpg will go in something like /media/f/i/file.jpg) $uploader->setFilesDispersion(false);
// We set media as the upload dir $path = Mage::getBaseDir('media') . DS ; $uploader->save($path, $_FILES['filename']['name'] );
} catch (Exception $e) {
}
//this way the name is saved in DB $data['filename'] = $_FILES['filename']['name']; }
Further add an field ‘filename’ in your db (table ‘aw_blog’).
And finally in /app/code/community/AW/Blog/Block/Blog/Edit/Form.php make sure that $form variable is defined as follows, so it works with multipart/form-data: