Welcome, Guest. Please login or register.
Login with username, password and session length


VirtueMart 1.1.8 - [SECURITY RELEASE] is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: 1 [2]   Go Down
Print
Author Topic: [Tutorial] Products, Attributes & Product Types  (Read 31942 times)
montano
Newbie
*
Posts: 49



WWW
« Reply #15 on: May 22, 2006, 19:14:09 PM »

I've tried to find this on the board but can't.  So if it's there please direct me to the thread. 

What I am trying to accomplish is there are 3 child products for each parent product.  I'd like the dropdown list for the child products to appear on the browse page with an add to cart.  It seems to take too many steps to add a child product to the cart and I'd like to find a way to skip the step where the customer has to actually open the parent to see the children.  Any ideas?
Thanks!
Logged

rsilvestre
Newbie
*
Posts: 5


« Reply #16 on: June 22, 2006, 09:39:33 AM »

Example : I'd like sale wear, but if I have eleven t-shirt,
3*XL[+2,4€]
2*L[+2€]
2*M[=19€]
3*S[-1,4€]
1*XS[-2,4€]
The I put 11 for stock and custumize liste attribut
If someone make purschase, The virtualmart component don't make the difference. If someone take 11 XL then I have only 3 in real stock, I can't give him. That could be interesting to improve this option ??
« Last Edit: June 29, 2006, 04:32:38 AM by rsilvestre » Logged
dj4967
Newbie
*
Posts: 11


« Reply #17 on: June 26, 2006, 03:47:17 AM »

im having problems with the cart not taking the item in the cart unless I fillin the Custom Attribute List: with text.

but on the pull down if the option is set to no...this does not work.unless there is text added to the custom field.

Here is the code i have in there:

Attribute List:Cap Color,Black;Cap Size,Small/Med.(6 3/4 x 7 1/4),Large/XLarge(7 1/8 x 7 5/8);Add Name to Back of Cap?,No Thanks,Yes add Name[+8.00];Back of Cap Thread Color,NONE,Gold

Custom Attribute List:Name to Add to Back of Cap

It just comes up saying - Info: Please select a special item.
Logged
montano
Newbie
*
Posts: 49



WWW
« Reply #18 on: June 26, 2006, 07:00:30 AM »

As far as I know you can't make a custom attribute dependant on the attribute list. If someone knows differently I'd sure like to know.

Your error message makes me think that you've not selected at least one option in each field and that the custom attribute is mandatory. 
Logged

dj4967
Newbie
*
Posts: 11


« Reply #19 on: June 27, 2006, 02:39:35 AM »

that makes sense....So how would i have an option to add an optioni of adding text to the field without having be dependent?

Can this have an optioin of adding a name to a hat if that is choosing as an option???
Logged
aleluia
Newbie
*
Posts: 4


« Reply #20 on: August 28, 2006, 11:22:32 AM »

thanks for the great tutorial  but there is a bug

the search by product type parameters doesn't have pagination so you ca view a limited number of results
Logged
NickAiuto
Newbie
*
Posts: 5


« Reply #21 on: September 01, 2006, 13:50:04 PM »


Custom Attribute List:Name to Add to Back of Cap

It just comes up saying - Info: Please select a special item.


Did you ever figure out how to do this?  I need the same thing.  Thanks!
Logged
NickAiuto
Newbie
*
Posts: 5


« Reply #22 on: September 01, 2006, 14:07:25 PM »

If you want to allow blank custom attributes, you can hack classes/ps_cart.php near line 132.  Search for PHPSHOP_CART_SELECT_ITEM (there are two of them in this file, look for the second one).

This if clause seems to check for existence of custom attributes and whether they were specified.  Remove the second clause after the logical OR (||).  So, remove these lines:

if ( ($result["attribute_given"] == false && !empty( $result["advanced_attribute_list"] ))
          || ($result["custom_attribute_given"] == false && !empty( $result["custom_attribute_list"] )) ) {


and replace with

if ( ($result["attribute_given"] == false && !empty( $result["advanced_attribute_list"] )) {

I hate hacking stuff, but I need this to work now.
Logged
aleluia
Newbie
*
Posts: 4


« Reply #23 on: September 08, 2006, 15:33:00 PM »

another bug in search by attributes


try this

search by atributes   then click on a product details and than click back in your browser

It returs to index.php but
The page cannot be displayed.

frustrating
Logged
montyferret
Newbie
*
Posts: 7


« Reply #24 on: October 19, 2006, 18:35:26 PM »

I have a question about product type and parameters.

I have set up my products (plants) with parameters for things such as flower colour, bloom period etc and everything is looking great as far as browsing the shop online.

However I need help with one issue.  I need to be able to call the product_type table created in ps_product_type.php when creating a pdf output of the shop browse page.  As far as I can see this table only gets called from the individual products flypage and not the shop browse page.

This one issue is stopping our site going live as i really need to be able to create a hardcopy catalogue from the shop.

Any help appreciated.  Thanks.
Logged
Daniel Van Wijk
Newbie
*
Posts: 1


« Reply #25 on: November 22, 2006, 18:36:23 PM »

Hi,
I think someone in the virtuemart team should write a document called "Product Types, Items and Attributes for Dummies" - like me for instance (being the dummy, not writing it of course).

All those in favor, sat Aye.

Thanks,
Dan
« Last Edit: November 22, 2006, 18:43:49 PM by Daniel Van Wijk » Logged
yarilo
Newbie
*
Posts: 4


« Reply #26 on: September 10, 2009, 23:26:26 PM »

Hi

I have a question about the BOOK product type example. I'm currently working on a bookstore using VirtueMart. As described in the example, I will need some product type attributes like ISBN, Author, Genre, etc... Is there any way that a product can be listed/searched by some of these attributes? The point is clear, if we make a bookstore, the users would like to list or find some of the books by the author, or by the genre or whatever... If products can't be listed or searched by product type attributes than can you tell me how to solve the problem for listing/searching by author and genre in some other way?  Huh
Thanks in advance
Logged
Laus
Newbie
*
Posts: 3


« Reply #27 on: January 08, 2010, 07:32:41 AM »

Thx for the tutorial, helped alot.

Similar to Montano I have differing bag sizes, but I don't want to show the price of the Parent Item - how should I go about this?

Do I have to hack the display template or is there a setting which does this?
Logged
nagarg
Newbie
*
Posts: 4


« Reply #28 on: January 21, 2010, 10:18:11 AM »

I am working with virtuemart since last 1 year and have had no problems, but today when i opened my site, it was very shocking that, when i click on the featured products from home page or products from any main menu link, it opens the content in the lower section and the rest of the page remains the same, you can see, www.adrikajewels.com, and the link has changed to http://www.adrikajewels.com/index.php?page=shop.product_details&category_id=18&flypage=flypage.tpl&product_id=88&option=com_virtuemart&Itemid=1, please look up and solve this problem of mine ... plz
Logged
dirtchamber
Newbie
*
Posts: 1


« Reply #29 on: January 23, 2010, 08:13:35 AM »

This is really weird...I've looked over half our on these forums for a way to ask a question, but it seems that this is disabled...so I'm asking here, sorry if it's in the wrong topic.
First, how can I disable the click & zoom function for the product images?

Second, I've checked the "catalog" option for the store, and I get this on every product where the checkout button should have been.


And third, everything works fine, except for the pathway. If I activate it and click, for example, a previous product or category, the url is malformed, is missing "index.php".
For example, the correct url is "http://www.url.com/index.php/shop?page=shop.browse&category_id=2", but clicking on the pathway gives "http://www.url.com/shop?page=shop.browse&category_id=2".

Please help me. Thank you. Smiley
Logged
Pages: 1 [2]   Go Up
Print
Jump to: