Author Topic: Add a child (item) product and value for an attribute - step by step  (Read 123716 times)

bergwastl

  • Beginner
  • *
  • Posts: 7
Re: Add a child (item) product and value for an attribute - step by step
« Reply #30 on: January 20, 2009, 14:46:41 pm »
Thank you for the howto. But in the latest version 1.1.2 the "Add Item" button is in the menu on the left, not the toolbar.

Question: I added child items but have to edit them. How can I list items and edit/delete?

Michael

Arni

  • Beginner
  • *
  • Posts: 48
Re: Add a child (item) product and value for an attribute - step by step
« Reply #31 on: January 20, 2009, 15:07:59 pm »
When you look in the main product list you have a link to the parent product but ALSO a link to another thing, Item Information, that is the list of child products that you have added to the parent.

bergwastl

  • Beginner
  • *
  • Posts: 7
Re: Add a child (item) product and value for an attribute - step by step
« Reply #32 on: January 22, 2009, 06:44:33 am »
Thanks Arni. I did not notice that little "Item Information" was an active link. It works. Maybe I should get better eyeglasses.

Michael

bikash

  • Beginner
  • *
  • Posts: 1
Re: Add a child (item) product and value for an attribute - step by step
« Reply #33 on: January 28, 2009, 21:26:02 pm »
How can i create sub categories
Thanks

cseke18

  • Beginner
  • *
  • Posts: 2
Re: Add a child (item) product and value for an attribute - step by step
« Reply #34 on: February 23, 2009, 10:20:37 am »
I would like to ask for help regarding the following problem.

We want to open an internet shop e-mail address  www.pet-shop.hu

The problem is:

The Virtuemart system is 1.1 together with greenshape template joomla 1.5.
I would like to put the child products with different sizes,colours to the cart.

The home page is in hungarian language, but if you could check it that  would be very helpful
for me. I asked this question on joomla forum joomla.org.hu but no one could answer
that.I tried to make a registration on virtuemart.net forum..but I didn't get back a registration link
for my e-mail address.

So ,if you would check please The KUTYA (Dog)

Category          Flexi nyakörvek és pórázok   (Flexi collars and lines)
Product             Flexi Classic 1-5 kék  (blue..and the child product hupikék...)

I would like to put the cart just one of them, but I get the answer:

You can chose from the list,and put the cart ,if you go to The Product Type list and choose
a product from that..

My problem is: First I have put all the products to the list after categories...
Now I know that I have to choose the Product Type list  when I add a colour ,or a size to the product..

But when I try to put one of them to the cart  1.the system puts all of them
                                                                               3. I need that list..
If you woul kindly check that product..the last line instead of Product Type is Product Category...but on the
administrator page it is different..as Product Type is Flexi Lines and the  Product Category
is Flexi collars and lines.

Please advice how can I make a Product Type list for Child Products for the home page...

Many thanks for your kindly help,

Andrea Cseke

manjireee

  • Beginner
  • *
  • Posts: 8
Re: Add a child (item) product and value for an attribute - step by step
« Reply #35 on: March 14, 2009, 07:34:15 am »
Hello,
I read the help document of virtue mart and i have added products attributes and items same way as you said.
I have come accross a mjor issue is,
for the main product, in product display option , i have selected check boxes named as "Use List box for child products ","add to car button for each child" so automatically list options are enabled.
Now when i used these option and see that product page of my site. Display is proper items are listed one by one.
In Firefox, add to cart bottom works properly, when i click on add to cart of indivudial product, it shows the pop up of continue and cart.
But when i use Internet Explorer, click on add to cart, the pop up does not display, jus shows the error object dosent supoort this property or function.

EquiProVM

  • Jr. Member
  • **
  • Posts: 53
    • Perfect World Luggage
Re: Add a child (item) product and value for an attribute - step by step
« Reply #36 on: April 08, 2009, 16:45:40 pm »
OK.  I have a product, which I will call "ET".  ET can be purchased made from 2 different materials, and whichever material a person chooses determines the price.  So, ET1680 is one price and ET0840 is another. Aside from the material weight, the products are exactly the same (same color, same sewing, etc.).

I would like to have my product in Virtuemart be the generic ET (or put the SKU as ET1680/0840) with no price until the attribute of material is applied.  These products are gear to 2 completely different users, so they would choose one material over the other at a different price.

When I try to set this up, however, as ET being the parent, and ET1680 and ET0840 as being the "children", it requires a price on the main ET page, or I get "call in for pricing".  I don't really want to commit to a price in the overview, because price depends on which material is chosen.  I also don't really want to use the "attribute" on the parent page, because it shows the more expensive one as "(+$40.05)" rather than just the price of $110.

I'm really not sure how to solve this in any other way, except to have 2 separate products, which is ridiculous because there is no other variant on them.

Any suggestions?

sitebuildernow

  • Jr. Member
  • **
  • Posts: 66
    • Coburn Enterprises - "Better Everything"
Re: Add a child (item) product and value for an attribute - step by step
« Reply #37 on: April 09, 2009, 06:13:26 am »
in your templates/common folder there is a template called price.tpl.php - you need to find and comment out the following:

<?php
// User is not allowed to see a price or there is no price
if( !$auth['show_prices'] || !isset($price_info["product_price_id"] )) {
   
   $link = $sess->url( $_SERVER['PHP_SELF'].'?page=shop.ask&amp;product_id='.$product_id.'&amp;subject='. urlencode( $VM_LANG->_('PHPSHOP_PRODUCT_CALL').": $product_name") );
   echo vmCommonHTML::hyperLink( $link, $VM_LANG->_('PHPSHOP_PRODUCT_CALL') );
}
?>

Here is how I did it but I am not a php master so this may not be exactly the right way to comment things out (see my //'s)but it worked:

<?php
// User is not allowed to see a price or there is no price
if( !$auth['show_prices'] || !isset($price_info["product_price_id"] )) {
   
   //$link = $sess->url( $_SERVER['PHP_SELF'].'?page=shop.ask&amp;product_id='.$product_id.'&amp;subject='. urlencode( $VM_LANG->_('PHPSHOP_PRODUCT_CALL').": $product_name") );
   //echo vmCommonHTML::hyperLink( $link, $VM_LANG->_('PHPSHOP_PRODUCT_CALL') );
}
?>
Coburn Enterprises
"Better Everything"
Website Developer / SEO and SEM Expert
Joomla! and Virtuemart (current versions always)

EquiProVM

  • Jr. Member
  • **
  • Posts: 53
    • Perfect World Luggage
Re: Add a child (item) product and value for an attribute - step by step
« Reply #38 on: April 09, 2009, 13:43:55 pm »
OK - Thanks!  But maybe I'm blind...I couldn't see the difference!  Can you tell me where the change is?  And what is the result?

saviner

  • Beginner
  • *
  • Posts: 7
Re: Add a child (item) product and value for an attribute - step by step
« Reply #39 on: July 20, 2009, 14:33:58 pm »
Can anyone help me with this?  We have parent products with children, where there's no price listed on the parent level, but each child has his own price which shows up nicely in the dropdown window on the product page and in the shopping cart – that is, until the user logs in.  Once he logs in, and his shopper group kicks in – in this case, his registered user status that entitles him/her to 10% off his/her purchase – instantly the price of the child turns to zero.  We figured out what’s happening:  the registered-user discount of 10% is applying not to the price of the child, but to that of the parent, which is zero to begin with:  10% off zero is zero.   We tested this by making the parent price $1, and, sure enough, the price of each child turned to $0.90, or 10% off the parent price of $1.00.  Now, how do we correct it?  Any help will be greatly appreciated.  Thank you.

jlwagner

  • Beginner
  • *
  • Posts: 20
    • Electronic Mother
Re: Add a child (item) product and value for an attribute - step by step
« Reply #40 on: July 20, 2009, 15:59:45 pm »
OK - Thanks!  But maybe I'm blind...I couldn't see the difference!  Can you tell me where the change is?  And what is the result?

The double slashes (//) have been added at the beginnings of two of the lines.  They mean that all which follows is a comment, to be ignored rather than acted on.  Therefore the programming that prints "Call for Pricing" when the price is zero will not be executed.

The first "commented out" line constructs what the page content should be.  I don't think it needed to be commented out.  The second "commented out" line (the one beginning with "echo") places that content on the page.  This may be the only line that needed to be commented out.
--- J.
Accordionist.org   |  ElectronicMother.com   |  Nonantum.net
Siddur.org   |   ChessNotation.com   |   ConservativeJudaism.us

derebo

  • Beginner
  • *
  • Posts: 37
Re: Add a child (item) product and value for an attribute - step by step
« Reply #41 on: July 23, 2009, 21:05:37 pm »
Excellent tutorial! Just too bad I had to learn it by trial and error as the manual was not as clear as your detailed explanation, or at least I didn't find it that clear. Wish I had read your post earlier  ;D

derebo

  • Beginner
  • *
  • Posts: 37
Re: Add a child (item) product and value for an attribute - step by step
« Reply #42 on: July 23, 2009, 22:07:54 pm »
BTW, any solution after over a year to the child items sort issue? Hopefully!

madamsplash

  • Beginner
  • *
  • Posts: 29
  • I have been a beginner since 2000
    • Splash Internet Marketing Australia
Re: Add a child (item) product and value for an attribute - step by step
« Reply #43 on: July 24, 2009, 09:51:02 am »
When a product has multiple Attributes - e.g. Size and Flavour, and we want to use an inventory of the same - is this managed through Items too?

Normal attributes don't appear to affect the count.

e.g.

4 Packs of 200g Lemon Flavour
4 Packs of 100g Vanilla Flavour
4 packs of 100g Chocolate Flavour
http://splash.net.au - Beginners since 1994 - everybody in Virtuemart is a Beginner - unless they sign up as an expert - hey you gonna do that?

epek

  • Beginner
  • *
  • Posts: 6
Re: Add a child (item) product and value for an attribute - step by step
« Reply #44 on: August 04, 2009, 12:01:13 pm »
Probably someone, who is more familiar with the topic could write an FAQ based on the expected results?

I am encountering various issues in understanding and creating products with individual attributes. Should they usually be inherited by children?
If so, I don't seem to be able to find the right settings. The parent will show the ind. attrs, but klicking on the variant won't show them again. Ordering seems to be prohibited then.

As for parent-child products there should be the following scenarios (please enhance the list, if required):

Scenario A:
Parent has attributes and no price (it's a template product) - children will inherit the attributes and set their own price.

Solution:?

Scenario B:
Parent has individual attributes and no price - children will inherit the individual attributes and set their own price.

Solution:?

Scenario C:
Parent has attributes and a price - children will either add further attributes or overlad them.

Solution:?


Solution-based approaches might be closer to real life applications.