How to add discounts in virtuemart 2.0 which are dependable on types of shoppers - virtuemart

I am having frustrations with this new Virtuemart 2.0.
First of all:
I would like to define discounts. I can't find that option. How can I do this?
Second:
I would like to define three shopper groups and would like to define different discounts on product subcategory level per shopper group with the ability to have some subcategories invisible for selected groups. Is this possible, how can I do it? If is not possible, could someone give me any direction what to change in vm code to make this feature possible?

Related

Selectable categories and products in magento admin

Goal
I am upgrading a custom in-house module for magento EE. The module groups clients together and has special rules that can be applied to the group or individuals of the group. I need to add an extra tab that allows, on a per group basis, to select items and/or categories. When they are selected people within this group will not be allowed to see those categories or products.
What I have
I have the the tab created and I know what I need to do on the front-end to achieve my goals. The issue is creating the selector. I have played with it for a couple hours and made no real headway as of yet. I have only been doing magento development for the past 5 weeks, so I am very new to this framework.
What I need help with
I would like to select the categories and items in the same fashion as when you go to Catalog->Categories->Manage Categories. The left column has a tiered list. I would like to have one like this but with check boxes for selection. When looking at Promotions->shopping cart rules->actions(tab), select a rule, choose the actions tab. In the second fieldset, if you add a new rule 'category' and then select the icon for the tiered tree that is exactly what I want. Same idea for products, its okay if the look is different. Just need to be able to do it both ways.
I need to be able to store the selected values, and retrieve them (easy once I know how to store them).
Please provide any code, guidance, or links to tutorials which are in the ball park. It would be much appreciated. I'm sure the generic option of being able to select things in this manner would be helpful to all.

Confused about how to add a product with different variables in Magento

I want to sell a product with 8 colors and two sizes.
Making a configurable product means making 16 simple products!
When I need to update the prices, I have to update the price of 16 products!!
Using the bundle product and adding the size and colors (for the customer to choose) has the limitation of quantity (I need to know how many products with the specific color is left).
Is there any other way to handle that?
For this i think creating a custom option for the product would be the best idea. It is easier to create and very helful in these type of situation. Think about that. If you have same options for other product than there is an extension called Custom Option replicator which will help you to replicate the custom options.
Hope this will help.

Magento product visibility per customer

I'm looking for a solution to make products visibile/invisible per customer. There are some extension to limit the visibility of products per customer group, but I cant find a solution to set the visibility per customer.
Does anyone know a solution for this?
One way is integrating the extension as mentioned in the question itself.
A work-around would be to add a custom product attribute and we can add a code to check the logged-in customer group in the
app/design/frontend/package/theme/template/catalog/product/list.phtml
using
Mage::getSingleton('customer/session')->getCustomerGroupId();
and load the product collection which would filter out the products on the basis of the custom attributes using
$collection->addAttributeToFilter();
In my opinion this would be the easiest way to do this.

How to make attributes selection independent from each other in frontend?

i need help with magento.
I have tried several ways but could not find it.
Lets say i have a product with 2 different attributes like Color and Size.
When i add those attributes to a product and than check the frontend, i first need to choose one attribute in order to make the other attribute selectable.
IsnĀ“t it possible to make alltibutes independent from each other selectable, so the user can choose which attribute he likes to select first.
In my knowledge, it is not possible to make attributes independent of each other, because magento manages associated products according to options selected.
But you can decide which option should control other by drag attributes up or down in admin for each product.
You don't need to use attributes but can simply create custom options on the configurable product level. These custom options will be displayed for every linked simple product and your customers can select each of those independently.
Be careful to create these options on the configurable product level. If you chose to create them on the simple product level you won't be able to link the products anymore unless you set the custom options to "not required".
(Keep in mind I am using Magento version 1.6.2, so this might be different for newer versions)
Hope that helped.

Proper solution to handle genders

i'm creating a big online clothing shop using magento and i was wondering - is there any good solution to handle genders in magento? I need to be able to add products to Male or Female gender but also to some categories like pants, hats or jackets. Categories are the same for both genders so using Gender as top-level category and clothing-categories as gender sub-categories would be a bit redundant i think.
Any ideas or tips would be appreciated, thanks in advance!
I've seen Magento stores where Male/Female are the top level categories, and it works well because generally the first thing customers would like to do is see only Male/Female items.
Another alternative is to create a new "Select" attribute for gender (Catalog > Attributes > Manage Attributes) and set a gender for all products. Then you could set up top level categories for Jackets, etc and allow customers to filter by gender using the layered navigation.
Given your category tree is the same, and gender is equally appropriate as an attribute of a product as it is a category - it would make sense simply to use attributes to facilitate it. Otherwise you will have a needless duplication of category tree.
Using a multiple select attribute for "gender" with two options "Male/Female" - you would be able to have the 1 to many, 1 to 1 relationship that you need for the products.
Then it is just a case of adapting your menu to suit. You could easily just append
&gender=male
to your menu URL and it would pre-select the appropriate filter from the layered navigation.
The better way
Would be to add a custom extension to "shop by X", gender in your case - then customise your top nav to reflect the shop by Male/Female options. Then you would have cleaner SEO urls to capture keyword phrases for "Mens suit jackets" by having a landing page for such.
Planning this element of your store is critical and the implementation even more so, to make it both scalable and a positive shopping experience for your customer.

Resources