Joomla K2 - Create Admin link to Specific Category - joomla

I want to create an ADMIN link to a specific K2 category, so that I can create quick links for my users to click for each category.
The problem is that when categories are filtered, it seems as though it is done with javascript, and the URL in the address bar changes to /index.php
The ideal solution would be to link to a K2 category like so:
/index.php?option=com_k2&category_id=12
Any hacks are welcome.

Figured out that the URL for specifying K2 Categories is as below:
option=com_k2&view=items&filter_category=8
I thought I had tried that previously.

you can add the code under to the admin menu.
You can take a look at this : http://magazine.joomla.org/component/k2/item/721-Customizing-the-Admin-Menu

Related

How is it possible that Magento create SEO Links for products ONLY WITH the category

The problem:
Magento creates 2 SEO Links for a product like this:
product/1695/60 category/category2/productname catalog/product/view/id/1695/category/60
and for the same product:
product/1695 productname catalog/product/view/id/1695
the first is a link with the category, and the second is without but only with the productname.
But what I want is that magento creates only ONE Seo Link in fact this link WITH the category, and not this link without the category.
The question:
How is it possible that Magento create SEO Links for products ONLY WITH the category?
I search in the admin menu and the only thing what I find is the option "use categorypath for article urls". But if I choose "YES" in this option And I rebuild the indexes I got 2 SEO Link for my article.. one without the category, and one with the categorypath.
Can somebody help me?
Thanks!
Yes, it is a common problem with Magento. You do have 2 options to create the result you want:
(harder one), you truncate table core_url_rewrite and reindex
database with "use category path to product urls" set to no. If this
is a live site you will have to create a redirect tool to point users
to correct pages. I recommend the extension I've created
https://github.com/SnowdogApps/Snowdog_Error404toolsm, it is for
redirects :-)
use this extension https://amasty.com/magento-unique-product-url.html , easy to install and get the job done

Magento rewrites and layered navigation

I'm having a problem with a Magento shop.
I'll explain it a bit:
Our shop has over 25k products.
We use a lot of attributes because it's a fashion shop. (size, color, brand etc.)
Our shop had over a thousend categories and was very slow because of so many categories, so we narrowed it down to 7 categories and added more attributes to help us filter.
The problem now however is the layered navigation. Let me show you an example:
When going to a category and selecting filters, the link is like this:
http://example.com/kinderkleding.html?doelgroep=jongenskleding&artikelgroep=broeken
The link that we want is:
http://example.com/kinderkleding/jongenskleding/broeken.html
We have tried many different extentions like GoMage Layered Navigation and SEO Layered Navigation. The first one didn't work at all with this and the second one adds a "identifier" to the link. This means the link would be like this:
/kinderkleding/shopby/jongenskleding/broeken.html
So it adds "shopby" in the link. This is very bad for our SEO.
We need the link without the "shopby".
We tried to rewrite our own links in Magento but that didn't work. We've got links like this with Magento rewrites: /kinderkleding/jongenskleding/broeken.html?doelgroep=jongenskleding&artikelgroep=broeken
Is there any way this can be fixed by an extension or custom php code?
We've tried so many different things.
Is there anyone with a suggestion?
I've made the last 2 links bold because I can't seem to be able to post more than 2 links.

show articles only in featured page

http://example.com/products/2-uncategorised/
http://example.com/products/2-uncategorised/2-aaa-bb-ccccc
I have this structure, where products is a featured page with articles. What I want is just block the access to the category and related articles.
So, http://example.com/products/2-uncategorised/ or http://example.com/products/2-uncategorised/2-aaa-bb-ccccc should redirect to http://example.com/products.
The only way that i know is:
#RedirectMatch 301 ^/products/.*$ http://www.example.com/products
Note: If I change the permissions of the article, available only to Registered users then the article is removed from the featured page if the user is not registered (wrong, this page should be public).
I need to preserve all articles in featured page and block the access of the individual article and the category that it belongs.
The question: There is another way without .htaccess ?
What is the problem with having multiple paths to the same article?
Are you worried about the user experience or the effect on your SEO?
If it's the later then you have some control over this.
Using "canonical" tags, you can stipulate which is the master URL for Google et al to index.
You can also manipulate the robots setting for each category or menu item.
If it's the former, I certainly wouldn't recommend redirects in htaccess. If you absolutely must redirect, use the redirect component that comes with Joomla. Still not recommended for this.
Why don't you do away with the featured page and just use articles with their own hidden menu items. This will give a direct access, no category view. If you want to add other articles to the bottom in a blog like style, you could add articles to modules and get a similar effect?

Magento - Adding quantity box to upsell / related products

I have a question regarding Magento. I want to be able to add a quantity box to the products that show up in the 'related products' list that is shown on the product detail page. This way a visitor can order a related item multple times instead of only once per action. I have been looking for a solution for this for over 2 weeks, but I can't seem to find anything usefull. Can anyone help me out?
Thanks in advance!
Think you need to edit this template: your_package/your_theme/template/catalog/product/list/upsell.phtml. If you do not have that file already in your theme, simply copy it in your theme and package following the rest of the path.
There you can add you Qty input box and add Add to Cart button and change the URL to include the qty. You should bear in mind that you may have also configurable/bundle products displayed as an up-sell, so you should cover these too.

Shop This Look / Shop By Look - Create page with multiple products and quickcart

I’m wanting to build a Shop This Look page that will be easily editable and up-datable without too much hacking every time it’s updated.
Ideally I would like it to work like this: http://shop.crooksncastles.com/collections/shop-by-look-mens-look-2
In that I upload a photo of the look and then select the products to appear (Even if it’s through using their productids).
My thoughts on how to achieve this:
1) Create a category specifically for each look but have them set to hidden. Eg.
Looks>
* Look1
* Look2
* Look3
2) Then display the category in a static block on a CMS page. And then add the selected products to the look categories.
The idea is that a customer can select their size and add each product of the look on that page without leaving.
Is this the correct way to go about this?
Is there a better way to go about it?
I think the best way to do this would be to create your own module in app/local.
Also you should take a look at configurable products and their attributes, maybe that's enough for what you want.
The solution was to greater utilise the category function of magento.
I built two new themes within my template file one for category and one for product list.
The category structure I used was
SHOP THIS LOOK > LOOK 1
> LOOK 2
> LOOK 3
The template that was applied to the 'Shop This Look' parent category had all product list snippets removed and only displayed the images of the sub categories (Look 1, Look 2 and Look 3).
I then added the look image to each of the Look 1 - Look 3 categories and the products (via the category products tab).
The Look pages also had their own list.phtml file. That displayed the category (look) image on the left hand side, then a list of the products down the right hand side. I edited it so the product images / titles didn't link through to the product any more and added a 'View full product details' link at the bottom. This encourages people to add their products to the page from the look and remain on the page to add the rest of the look.
Another good way to look into buying a whole look as opposed to selecting individual options is bundled products.
Over all functionality is exactly how I wanted it. Updating is easy for a Magento layman and it looks great.
as an alternative approach you can check Altima Lookbook to create "Shop the look" experience.
It does it in a bit different way - allows you to place a slide (as part of slideshow) with multiple products linked with that slides as interactive tags, placed on top of actual image.

Resources