VirtueMart Forum

VirtueMart 2 + 3 => 3rd party extension => Topic started by: PRO on March 16, 2012, 11:52:11 am

Title: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on March 16, 2012, 11:52:11 am
UPDATED: with Beta Feature =Price
Beta Feature: = is NOT guaranteed to work for you. It works for me. There are so many price configurations with vmart, I cannot tell you if it will work.

ALSO: With updated version
The custom field setup will not save with price variations.
You have to do that in the individual product.
BUT:
If you have
red,Blue,Green,Yellow    etc. You will be able to apply them with 1 click.

Plugin Features:

http://www.kaizenmediaworks.com/virtuemart-2-0-custom-field-dropbox-plugin

Instructions:
Install The Plugin
Enable It
Go to custom fields.
Click "new"
Choose Plugins
The dropbox
Fill in the title.
Fill In the option template separated by Commas.
For example
Red,Blue,Green,Yellow
Go To a Product Custom Fields.
Choose the plugin.
You will see all the options there already. You can just hit save.

You can change the template, and the specific product options without changing the products that already have them assigned to them.

For Price Variant just add |+ or |- at the end.
DO NOT PLACE AT THE FRONT
For example
Small,Medium |+5, Large |+10

For negative Just use
Large,Medium |-5,Small |-10

For Equals
Please Choose,Red|=100,Green|=200


[attachment cleanup by admin]
Title: Re: Custom Field Dropbox Plugin
Post by: Anik on March 16, 2012, 11:53:42 am
Any demo? (not picture)
Title: Re: Custom Field Dropbox Plugin
Post by: PRO on March 16, 2012, 11:55:33 am
Any demo? (not picture)

No, My site is not live yet.

Title: Re: Custom Field Dropbox Plugin
Post by: Anik on March 16, 2012, 12:05:24 pm
It's okay..

well i downloaded it but i am not sure about it's purpose. can you explain further?

Thanks.
Title: Re: Custom Field Dropbox Plugin
Post by: PRO on March 16, 2012, 12:09:03 pm
Its for product attributes. Did you look at the picture?
It takes a comma separated list, and creates product options with it.
I use it to apply 36 colors to products with a single click.
Title: Re: Product Custom Field Dropbox Plugin
Post by: Anik on March 16, 2012, 12:15:30 pm
i downloaded the plugin and published it, but where i can see this field?
I looked in products custom fields but there is no such option. How to get it worked?  :-\
Title: Re: Product Custom Field Dropbox Plugin
Post by: PRO on March 16, 2012, 12:17:59 pm
Publish the plugin
Go to custom fields.
Click New.
Choose "Plugins"
At the bottom Click "dropbox".

The Put a comma separated list of the options you want added.

Go to a product, and apply that custom field.
Title: Re: Product Custom Field Dropbox Plugin
Post by: Anik on March 16, 2012, 12:24:03 pm
Yes, now i can make it work.
But what is the purpose of it really?
i mean what can i do by this color? Is it cant be done by vm itself?
Dont be angry on me as i have no idea what is its function. :)
Anyway, you made good work.
Thanks again.
Title: Re: Product Custom Field Dropbox Plugin
Post by: PRO on March 16, 2012, 12:28:47 pm
It makes it easier.

Normal vmart custom fields to add 10 colors to a product will have to be added individually.

This plugin adds the whole template to a product with a single click.

If you have 50 products, all available in the same 10 colors. You can go to the product, "apply the plugin template" and hit save.

50 Products with standard vmart custom field, would have to be saved 500 times. 1 for each individual field, + typing them it.
Title: Re: Product Custom Field Dropbox Plugin
Post by: Anik on March 16, 2012, 12:30:36 pm
Now i managed it in backend but can't see any changes in frontend.  ???

But it does not deal with price. right?
Title: Re: Product Custom Field Dropbox Plugin
Post by: PRO on March 16, 2012, 12:33:22 pm
Now i managed it in backend but can't see any changes in frontend.  ???

But it does not deal with price. right?

No, this is best for colors etc.

Have you applied it to a product?
Title: Re: Product Custom Field Dropbox Plugin
Post by: Anik on March 16, 2012, 12:36:20 pm
yes i did.
Title: Re: Product Custom Field Dropbox Plugin
Post by: PRO on March 16, 2012, 12:37:30 pm
Did you set the custom field as "Cart Attribute" in the configuration.

Title: Re: Product Custom Field Dropbox Plugin
Post by: Anik on March 16, 2012, 12:48:01 pm
Yeehh. After seting that it's working..  ;D

:-*..Thanks.. :-*
Title: Re: Product Custom Field Dropbox Plugin
Post by: PRO on March 19, 2012, 19:35:51 pm
updated, now has price variation.
Positive, and negative.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Anik on March 20, 2012, 06:49:18 am
Great.. I will check this out shortly.

But how to update? Just install again or uninstall the previous one and then install again.? Thanks
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 20, 2012, 11:12:09 am
just install right on top
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Anik on March 20, 2012, 15:54:21 pm
on it.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Anik on March 21, 2012, 11:55:59 am
Hello Banquet,

maybe i'm posting in wrong place but this is just to notify you. I was watching one of your tutorial http://www.kaizenmediaworks.com/virtuemart-template-and-module-control

I want to display some modules in some particular vm category. But where to paste those codes? Also do i need to create a new module to assign them (something like metamod)?

Any explanation will be helpful.

Thanks.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 21, 2012, 12:18:29 pm
Hello Banquet,

maybe i'm posting in wrong place but this is just to notify you. I was watching one of your tutorial http://www.kaizenmediaworks.com/virtuemart-template-and-module-control

I want to display some modules in some particular vm category. But where to paste those codes? Also do i need to create a new module to assign them (something like metamod)?

Any explanation will be helpful.

Thanks.

YOU put this code in your template wherever you want the module to show, and it will create a position for each category.

<?php if (JRequest::getVar('view')=='category') { ?>
<div id="catmod"><jdoc:include type="modules" name="category<?php echo JRequest::getInt('virtuemart_category_id',0); ?>" /></div>
<?php } ?>

The position is
category###
### is whatever category id you are on.
So if you go to a category, and the category id is 25.
It creates a position called category25


THEN, you go into modules, and you can type in
category25   in the position field. THEN, it will show up on that page.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Anik on March 21, 2012, 12:46:33 pm
Ohhhh great..

This is far better than metamod.. Thank you so much..

But friend can you help me little in this thread? still i can't get this worked. http://forum.virtuemart.net/index.php?topic=99785.msg329737#msg329737

jm2.5 and vm 2.02

Regards.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: corymp on March 21, 2012, 13:37:35 pm
Banquet, This plugin seems great so far but. There is one flaw. You can only add one product the the cart, If I want to buy a red shirt and then a green shirt, the greenshirt replaces the red shirt in the cart? any ideas?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 21, 2012, 14:37:38 pm
what do you mean?

Give me an example of how to reproduce. Do you have a url?

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: corymp on March 21, 2012, 15:19:33 pm
Oh, Sorry... My mistake, I'm sure that was happening last night when I posted this. It seems like it is working.

Again Sorry...

But now I see a different issue:

If I add 1 bottle at 24mg, then 1 at 16mg, and then another at 24mg, the 2 items at 24mg do not combine in the cart.

check Link and add 1 at 24mg, 1 at 16mg, and 1 at 24mg again, then view the cart. http://test2.firenl.com/store/eliquid/tobacco-flavors/flue-cured-detail (http://test2.firenl.com/store/eliquid/tobacco-flavors/flue-cured-detail)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 21, 2012, 16:18:07 pm
corymp,

This is not a big problem. Because barely anyone will add to cart like that.

BUT: I will see if I can get it to show in 1 row.
I am working on getting the display of the dropdown to be less confusing.
Like

Size Large (Add $5)

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: corymp on March 21, 2012, 16:21:52 pm
Your hard work is appreciated
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: corymp on March 21, 2012, 17:41:47 pm
Just to let you know, theres BOM in your plugin
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 21, 2012, 17:58:59 pm
Just to let you know, theres BOM in your plugin

Yes, the one you have has a bom.

Its been removed on my version. I cannot release my version until I finish the other features that I am adding.

I use
http://www.flos-freeware.ch/notepad2.html    (Thanks to MIlbo for Recommending the software)

To remove the BOM

You can open drop.php   and save in UTF-8  (no signature)

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: corymp on March 21, 2012, 18:03:14 pm
Thanks
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Anik on March 22, 2012, 06:34:18 am
well i use the one included with firefox. :)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 22, 2012, 10:58:47 am
well i use the one included with firefox. :)

?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Anik on March 22, 2012, 16:23:25 pm
Firefox > Menu > Web Developer > Scratchpad

It's a simple code highlighter.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Anik on March 22, 2012, 19:27:49 pm
Banquet i got a problem with the module position trick you told me. By this i added a position in a particular category and modules in it is not showing on other categories, but the problem is all the modules in it showing in search result page and manufacture pages. Things are looking worst in this pages. Any idea how to fix it?

Thanks.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Anik on March 22, 2012, 20:15:31 pm
Update

I added another module position for another category. Now the showing modules are doubling up.

I mean i added this code in my template

Code: [Select]
<div id="col2">
                             <jdoc:include type="modules" name="position-7" style="rest"/>
                          <?php if (JRequest::getVar('view')=='category') { ?>
<jdoc:include type="modules" name="category<?php echo JRequest::getInt('virtuemart_category_id',6); ?>" style="rest"/>
<?php ?>
                <?php if (JRequest::getVar('view')=='category') { ?>
<jdoc:include type="modules" name="category<?php echo JRequest::getInt('virtuemart_category_id',2); ?>" style="rest"/>
<?php ?>         
                         
                         
                         
                        </div>

but this returning same 2 modules in same position. Also in search page and manufacture page there is all 2 modules. I think it will be tripled or more if i add more position. Please take a look on your installation.

Thanks again.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Anik on March 22, 2012, 20:25:01 pm
Seems to be i fixed the 2nd problem but the first one is still there. Showing all of em in manufacture and search page. Any idea?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 23, 2012, 10:09:35 am
<?php echo JRequest::getInt('virtuemart_category_id',2); ?>

dont put the 2, THATS the default.

<?php echo JRequest::getInt('virtuemart_category_id',0); ?>
THIS code GRABS the category id from the url.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Anik on March 23, 2012, 17:14:07 pm
Worked again.. !!  :o you are great as usual..


Thank you
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: depika on March 27, 2012, 19:01:29 pm
Hi

I don't know if I am posting to the right place. I would like to have an extra field at products but I would like also to be able to filter products based on that field. Is this possible?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 27, 2012, 19:16:28 pm
Hi

I don't know if I am posting to the right place. I would like to have an extra field at products but I would like also to be able to filter products based on that field. Is this possible?

Please start a new thread here
http://forum.virtuemart.net/index.php?board=132.0
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Kristie on March 27, 2012, 20:29:00 pm
Love your plugin! It was just what I needed with so many products having a very large amount of custom drop down options. I am wondering how I can get it to work with CSVI 4. It will only do one of the drop down fields and I have 5 drop downs and 1 customer text input. Any suggestions?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 27, 2012, 20:52:06 pm
Love your plugin! It was just what I needed with so many products having a very large amount of custom drop down options. I am wondering how I can get it to work with CSVI 4. It will only do one of the drop down fields and I have 5 drop downs and 1 customer text input. Any suggestions?

I do not know.

BUT: You can set your template in the custom field, and then go to every product that uses it, and just apply it with 1 click.

Have you looked here?
http://www.csvimproved.com/index.php?option=com_content&view=article&id=778:custom-fields-import-and-export&catid=181:tutorials&Itemid=101

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Kristie on March 27, 2012, 21:31:37 pm
BUT: You can set your template in the custom field, and then go to every product that uses it, and just apply it with 1 click.

Not sure what you are referring to here.....sorry just learning all this.

Have you looked here?
http://www.csvimproved.com/index.php?option=com_content&view=article&id=778:custom-fields-import-and-export&catid=181:tutorials&Itemid=101

I will look at it.

Thank you very much!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 28, 2012, 11:43:16 am

Not sure what you are referring to here.....sorry just learning all this.



You can fill in the "defaults"

then go to a product, and apply them with a single click
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: corymp on March 28, 2012, 12:11:47 pm
Hey Banquet, any luck with combining the items in the cart with this plugin?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 28, 2012, 12:18:25 pm
Hey Banquet, any luck with combining the items in the cart with this plugin?

I have looked into it, but not fixed it.

I am definitely going to get that part fixed. I am using this plugin for my whole site. So it could definitely cause some confusion for my customers.

I have changed the way it looks to be more user friendly by adding a

(Add $12) etc. in the dropdown.
The "Add" and "Subtract" is translatable. BUT, I just need to get the currency symbol in there instead of hard coding "$", because everyone doesnt use dollars.

After that , I will upload an updated one.

THEN: I can work on the "cart" layout doubling with the same attribute.





[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: corymp on March 28, 2012, 13:02:11 pm
Great to hear. I am also using your plugin for my whole site. It's working out good
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: HG on March 28, 2012, 14:09:02 pm
dropbox works fine so far still testing it...seems simpler than the default plugins it should be added to their next update...

I would say leave the + symbol

if you could have multiple titles and options that would be a plus....

do you know how to get rid of the "Price: No additional charge" that shows because the cart attribute is selected..
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 28, 2012, 14:49:36 pm
dropbox works fine so far still testing it...seems simpler than the default plugins it should be added to their next update...

I would say leave the + symbol

if you could have multiple titles and options that would be a plus....

do you know how to get rid of the "Price: No additional charge" that shows because the cart attribute is selected..

The + symbol can be overridden in the language file

Default is  ADD
And default is  Subtract

BUT: You an change those.

AND. You still fill out the form the same
+20   etc.


What do you mean multiple titles and options?
See attached picture, I am using the same plugin for 4 different options

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: HG on March 28, 2012, 15:27:35 pm
multiple Custom Dropbox Title and options means

the option to create 1 field with all of those in your pic i think stockable variant has the option for 4 i think...

Custom Dropbox Title
options

Custom Dropbox Title
options

Custom Dropbox Title
options

so on.....
but i guess it's fine for now.....I notice the parent does not auto update when new fields are added. have to go back to the product erase then add back the parent..
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 28, 2012, 16:19:57 pm


What I do is have a single

"Color Field"

Then fill in the template.
GO to every single product that uses that set of colors. Apply them.

THEN: Go back to the template, and change the same one for the next color set. And repeat.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Kristie on March 28, 2012, 16:33:37 pm
Love your plugin! It was just what I needed with so many products having a very large amount of custom drop down options. I am wondering how I can get it to work with CSVI 4. It will only do one of the drop down fields and I have 5 drop downs and 1 customer text input. Any suggestions?

I was determined to get this working and make my life easier getting this site up. I have hundreds and hundreds of products with the majority having the same same custom drop down boxes. BanquetTables.pro's plugin is the bomb!

First I went in Virtuemart in the custom fields tab and created the 5 dropdown boxes and 1 customer text input field using BanquetTables.pro's plugin the way it is explained here. It worked perfectly!

Created the csv file and just repeated the entry for each of the custom title fields. I have attached the csv file for reference and also an image of the results.

I am really appreciating all the hard work BanquetTables.pro put into this plugin. Now all I have to do is create my csv file with the hundreds and hundreds of products by just copying and pasting then changing the info for each new product saving me lots of time and many many headaches!  8)

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: HG on March 28, 2012, 16:37:33 pm
but isn't that 4 separate fields?

i know you can do

size
s,m,l xl, xxl +5   etc.....

but you will need to also create a plugin field for color etc right?


i just found a small bug... if you add this field you will get some weird calculations..

eg..
title: Model
options: R6 08-09 +220, R6 10-11 +250

the above is the make and model with its price
eg R6 2008-2009 is $220
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: HG on March 28, 2012, 16:46:46 pm
R6 08/09 +220  does the trick...

great plugin...
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 29, 2012, 15:53:59 pm
R6 08/09 +220  does the trick...

great plugin...

The plugin "grabs"  the REST of the string AFTER the + or -
THEN, uses THAT # for the price

I have NO idea, why that "dash" creates a problem

as far as I know, it should not
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: clabis71 on March 29, 2012, 17:04:04 pm
I tried your plug-in, I need very much especially with the possibility to vary the price.
I have a problem with it, I set the discount and your plug-in does not display them in the front-end
Also I do not understand why do not accept decimal, eg: $ 0.20
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Bruce Morgan on March 29, 2012, 18:23:43 pm
Just found this thread and will try your plug in.  It appears to be a direct replacement for the old-style attributes which is great.  Now if I could only get the parent/child thing to work.

Bruce
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: dsrpmedia on March 29, 2012, 18:49:30 pm
Exactly - I need something almost exactly like this, but that will work with children (so that I can have the child name + attribute (eg size/color) + price all on one line in the dropdown just like in VM 1.1
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 29, 2012, 19:46:55 pm
why do not accept decimal, eg: $ 0.20

fixed, but not uploaded
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: clabis71 on March 29, 2012, 20:08:22 pm
when available for download?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 29, 2012, 20:38:48 pm
its uploaded.


I saved the old version in case there are changes, someone does not like

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Bruce Morgan on March 29, 2012, 21:01:11 pm
Gave your plug in a quick test and it is great.

Bruce
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 29, 2012, 22:46:39 pm
I have a problem with it, I set the discount and your plug-in does not display them in the front-end

but its correct in cart right?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: clabis71 on March 30, 2012, 08:24:45 am
I have a problem with it, I set the discount and your plug-in does not display them in the front-end

but its correct in cart right?

Yes is correct in cart and in final price, but not in the list-slide
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Bruce Morgan on March 30, 2012, 16:21:13 pm
I tried setting up two dropdown attributes for a single product and only the first one displayed.  Is this a limitatipn or should I be able to seet up more than one?

Bruce
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 30, 2012, 19:03:51 pm
I tried setting up two dropdown attributes for a single product and only the first one displayed.  Is this a limitatipn or should I be able to seet up more than one?

Bruce

are you using the same dropbox? as in you create one called "drop" and apply it different times, and just change the "text title"
disregard when I said you can do that. I think if the custom field ID is the same, it will create problems.

BUT: Yes, I am using it up to 4 times i know of.

IF not what I asked above, make sure its set to cart variant.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: dudley389 on March 31, 2012, 01:12:38 am
very interested in this plug-in.  Can the fields be set as mandatory?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on March 31, 2012, 11:29:25 am
very interested in this plug-in.  Can the fields be set as mandatory?

Its not setup like that, BUT i did look into this yesterday.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: zactan on April 01, 2012, 07:01:52 am
Thanks... the plugin works fine..

but for further enhancement particularly for color picking, is it possible to add color images next to the text?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 02, 2012, 13:07:55 pm
Thanks... the plugin works fine..

but for further enhancement particularly for color picking, is it possible to add color images next to the text?


That would be better as separate plugin
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: zactan on April 02, 2012, 13:17:42 pm
Thanks... the plugin works fine..

but for further enhancement particularly for color picking, is it possible to add color images next to the text?


That would be better as separate plugin

well, i have tried the kaizenmediaworks it seems that it only allows dropdown list for wordings and not images. do you mean i have to edit the code ? or there is another similar plugin from another developer that can do the job?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 02, 2012, 15:15:35 pm

well, i have tried the kaizenmediaworks it seems that it only allows dropdown list for wordings and not images. do you mean i have to edit the code ? or there is another similar plugin from another developer that can do the job?

My plugiin is not coded for that.

I do know someone else was working on this.

Keep a look out here
http://extensions.virtuemart.net/

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 04, 2012, 00:08:03 am
Hello

Is it possible to modify the custom field plugin to insert percent (e.g. 10%) instead of a fix amount? And the new amount will then be correctly calculated?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: HG on April 04, 2012, 08:44:18 am
how to change max character for the options?

think i ran out of space for an item.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 04, 2012, 12:49:22 pm
Hello

Is it possible to modify the custom field plugin to insert percent (e.g. 10%) instead of a fix amount? And the new amount will then be correctly calculated?

% of what? the product price?

No

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 04, 2012, 12:51:19 pm
how to change max character for the options?

think i ran out of space for an item.

how many characters? Its stored as "text" in database.

You can see on the first page how many options I created with 1 field
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 04, 2012, 16:59:39 pm
I have a problems with the prices of different attributs. There are two variants. Variant A = normal price, variant B = +10€. It doesn't matter which variant I choose first and put in the basket, when I choose the second variant the price will change only in the detail view, but in the basket the price will be taken from the variant I have selected and put in first.

The correct attributes are shown in the basket, but as I described the wrong prices. And the following is very curious: As soon as I delete one of both variants, the price of the remaining variant changes into the correct price.

Maybe this could be a bug in VM 2.0.3 I (?)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: bradeaston on April 04, 2012, 17:21:33 pm
Great Plugin!!!
Quick to set up, easy to use, thank you!

I don't think this is your plugin, but I'm getting this
"Price: : No additional charge Select "
it's adding to the additional price to the final price ok, but is displaying that to the right

Has anyone else come across this?
or Any known fixes?

Super Plugin thanks again!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 04, 2012, 17:50:15 pm
I have a problems with the prices of different attributs. There are two variants. Variant A = normal price, variant B = +10€. It doesn't matter which variant I choose first and put in the basket, when I choose the second variant the price will change only in the detail view, but in the basket the price will be taken from the variant I have selected and put in first.

The correct attributes are shown in the basket, but as I described the wrong prices. And the following is very curious: As soon as I delete one of both variants, the price of the remaining variant changes into the correct price.

Maybe this could be a bug in VM 2.0.3 I (?)

patbe60,

any chance the 2 attributes have the same title or params?

I am using this plugin with up to 4 variants on the same product
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 04, 2012, 17:51:31 pm

I don't think this is your plugin, but I'm getting this
"Price: : No additional charge Select "
it's adding to the additional price to the final price ok, but is displaying that to the right

Do a language override, and leave the field empty
http://forum.virtuemart.net/index.php?topic=92944.0

Search the regular virtuemnart file to get the string
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: bradeaston on April 04, 2012, 18:10:06 pm
sweet, I'll check that out!
thanks for the quick reply
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 04, 2012, 18:23:19 pm
Quote
any chance the 2 attributes have the same title or params?

I am using this plugin with up to 4 variants on the same product

No: Attribute A, Attribute B +10
->
Add "Product" with Attribute A to the cart (eg. price=90), after this select "Product" with Attribute B (new price of 100 appears on the details site) and add it to the cart. Both products in the cart have the correct name including correct attribute names. But both products price is 90. When deleting product with Attribut A from the cart, the price of Attribut B changes to 100 in the cart. The same thing happens when I do it the oposite way.

As far as I can see all follwing variants of a product in the cart take the price of the first variant until thisone is deleted. After deleting they take the price of next follwing.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 04, 2012, 19:43:11 pm
Quote
any chance the 2 attributes have the same title or params?

I am using this plugin with up to 4 variants on the same product

No: Attribute A, Attribute B +10
->
Add "Product" with Attribute A to the cart (eg. price=90), after this select "Product" with Attribute B (new price of 100 appears on the details site) and add it to the cart. Both products in the cart have the correct name including correct attribute names. But both products price is 90. When deleting product with Attribut A from the cart, the price of Attribut B changes to 100 in the cart. The same thing happens when I do it the oposite way.

As far as I can see all follwing variants of a product in the cart take the price of the first variant until thisone is deleted. After deleting they take the price of next follwing.


I see,

This is going to take some work.

There is another problem when you add the same attributes multiple times (at different times)
It does not update the quantity, it adds a second row.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Bruce Morgan on April 04, 2012, 20:00:12 pm
I played with this some more and have exactly the same issue as patbe60.  I also have one other issue.  I was able to get two attributes displayed, but you plug in does not require that a selection be made.  the dropbox tiltle for the "design" plug-in "design".  There are also the selections separated by commas.  However, when viewing the product detail page, the first item in the dropdown box is "design" (the dropbox title) and it is an allowable selection.  If one of the other selections is not picked the prduct will show up in the cart with the field empty.  Is there a way to change this?

Bruce
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Bruce Morgan on April 04, 2012, 20:04:58 pm
BTP, there is one other problem.  It is true that you can add the same product multiple times and additional lines will be created.  However, if you delete one of the lines, it will no longer allow you to add additonal instances of the product with different attributes.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: phz on April 04, 2012, 20:11:26 pm
I fixed that title thing by commenting these two rows in drop.php plgVmOnDisplayProductVariantFE function:
Code: [Select]
//$html.='<option selected="selected" disabled="disabled">'.$field->custom_drop_name.'</option>';
//$html.='<option selected="selected">'.$field->custom_drop_name.'</option>';

Now it shows always the first value of attributes by default and if user doesn't change anything, that first value is sent to cart.

I'm having same problem with multiple same products with different variants in cart.. prices get really messed up. Have to start looking to get that fixed ASAP. Been really hard to try to get all working with VM2, I can't even count how many differents fixes had to be done..
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 04, 2012, 20:18:14 pm
I played with this some more and have exactly the same issue as patbe60.  I also have one other issue.  I was able to get two attributes displayed, but you plug in does not require that a selection be made.  the dropbox tiltle for the "design" plug-in "design".  There are also the selections separated by commas.  However, when viewing the product detail page, the first item in the dropdown box is "design" (the dropbox title) and it is an allowable selection.  If one of the other selections is not picked the prduct will show up in the cart with the field empty.  Is there a way to change this?
Bruce


Yes the 1st selection is disabled, and it defaults to "title". AS soon as you choose an option, you cannot go back to the title.
 The only other option is to use javascript to check the fields. I looked into this, but have not tried it yet.


BTP, there is one other problem.  It is true that you can add the same product multiple times and additional lines will be created.  However, if you delete one of the lines, it will no longer allow you to add additonal instances of the product with different attributes.


I do not get this. I have tried many ways

I did earlier find some weird behavior, I cannot replicate it though.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: phz on April 04, 2012, 20:25:14 pm
Quote
any chance the 2 attributes have the same title or params?

I am using this plugin with up to 4 variants on the same product

No: Attribute A, Attribute B +10
->
Add "Product" with Attribute A to the cart (eg. price=90), after this select "Product" with Attribute B (new price of 100 appears on the details site) and add it to the cart. Both products in the cart have the correct name including correct attribute names. But both products price is 90. When deleting product with Attribut A from the cart, the price of Attribut B changes to 100 in the cart. The same thing happens when I do it the oposite way.

As far as I can see all follwing variants of a product in the cart take the price of the first variant until thisone is deleted. After deleting they take the price of next follwing.


I see,

This is going to take some work.

Do you have any idea from where to start looking to fix this? From your plugin or from VM2 core?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 04, 2012, 20:44:06 pm
Quote
any chance the 2 attributes have the same title or params?

I am using this plugin with up to 4 variants on the same product

No: Attribute A, Attribute B +10
->
Add "Product" with Attribute A to the cart (eg. price=90), after this select "Product" with Attribute B (new price of 100 appears on the details site) and add it to the cart. Both products in the cart have the correct name including correct attribute names. But both products price is 90. When deleting product with Attribut A from the cart, the price of Attribut B changes to 100 in the cart. The same thing happens when I do it the oposite way.

As far as I can see all follwing variants of a product in the cart take the price of the first variant until thisone is deleted. After deleting they take the price of next follwing.


I see,

This is going to take some work.

Do you have any idea from where to start looking to fix this? From your plugin or from VM2 core?




I think a function is going to have to be added to both the core,

and then in the plugin

for both the price , and the duplicated row
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 04, 2012, 23:45:35 pm
An other issue: Try this: add two or more variants to the cart. Go to the cart, delete all variants unless only one is remaining in the cart. Go back to the product and try to add other variants. Instead of adding this variant, the actual variant in the cart just will be replaced through this new selected variant.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Bruce Morgan on April 05, 2012, 00:11:50 am
I had the same result.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: walkyrie on April 05, 2012, 14:25:28 pm
This plugin i s really great, thanks!

I have a little problem : When i use the same attribute two times (i don't have to do that, but i did, my mistake), i can't erase one of the two attributes. When i click on the red cross, nothing happen... Any idea somenone?

Thanks!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 05, 2012, 16:31:29 pm
This plugin i s really great, thanks!

I have a little problem : When i use the same attribute two times (i don't have to do that, but i did, my mistake), i can't erase one of the two attributes. When i click on the red cross, nothing happen... Any idea somenone?

Thanks!

u definitely should be able to

I have done that
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 05, 2012, 17:25:07 pm
Translations in the options field are not possible. Am I right? Title can be translated with language strings and language override.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 05, 2012, 18:30:33 pm
Translations in the options field are not possible. Am I right? Title can be translated with language strings and language override.

This would take some coding, but it could be possible

BUT: not translating it. Filling in separate boxes, and displaying them per language
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 05, 2012, 18:52:17 pm
Quote
BUT: not translating it. Filling in separate boxes, and displaying them per language

This should work then for all other custom fields like e.g. cart variant. But I do not have any idea how to realize this. I don't see any possibility to assign separate boxes to different languages. As far as I can see there are only product name, alias and product descriptions which can be assigned to different languages.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 05, 2012, 19:05:39 pm
Quote
BUT: not translating it. Filling in separate boxes, and displaying them per language

This should work then for all other custom fields like e.g. cart variant. But I do not have any idea how to realize this. I don't see any possibility to assign separate boxes to different languages. As far as I can see there are only product name, alias and product descriptions which can be assigned to different languages.

what I mean is a plugin to do this
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 05, 2012, 19:25:45 pm
Quote
what I mean is a plugin to do this
Sorry I don't understand what you mean. Creating a second custom field ->dropbox plugin with translated values? And if yes how to displaying them per language? (Hope it doesn't sound to stupid to you)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 05, 2012, 19:30:50 pm
Quote
what I mean is a plugin to do this
Sorry I don't understand what you mean. Creating a second custom field ->dropbox plugin with translated values? And if yes how to displaying them per language? (Hope it doesn't sound to stupid to you)

I mean, someone could develop it the way I describe, not that its already available.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 05, 2012, 19:39:41 pm
Ok, sorry I did missunderstand you completely. But since you are a member of the VM Team, do you know wether this will be implemented in a future release of VM? In my opinion it is a must have for a multilingual shop. I'm wondering that nobody else is missing this feature.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 05, 2012, 19:45:07 pm
Ok, sorry I did missunderstand you completely. But since you are a member of the VM Team, do you know wether this will be implemented in a future release of VM? In my opinion it is a must have for a multilingual shop. I'm wondering that nobody else is missing this feature.

It has been asked about, I do not know if it will be added though
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: walkyrie on April 06, 2012, 10:20:02 am
I have a little problem : When i use the same attribute two times (i don't have to do that, but i did, my mistake), i can't erase one of the two attributes. When i click on the red cross, nothing happen...
u definitely should be able to
I have done that

Well, yes, i hope i should... but, after new tests, when i create a attribute without the plugin, i can erase it, and when i create one with the plugin, (even if i put only ONE attribute, contrary to what i said before) i can't erase it. What is strange is that the erase field is in a new column, as you can see on the capture screen.

For information, i use VM 2.0.2

Any help would be ... cool!

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 06, 2012, 13:07:54 pm
I have a little problem : When i use the same attribute two times (i don't have to do that, but i did, my mistake), i can't erase one of the two attributes. When i click on the red cross, nothing happen...
u definitely should be able to
I have done that

Well, yes, i hope i should... but, after new tests, when i create a attribute without the plugin, i can erase it, and when i create one with the plugin, (even if i put only ONE attribute, contrary to what i said before) i can't erase it. What is strange is that the erase field is in a new column, as you can see on the capture screen.

For information, i use VM 2.0.2

Any help would be ... cool!

U have some other html error causing this

See the picture attached.

HTML error ABOVE the html output of this plugin can effect the rest

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: walkyrie on April 06, 2012, 13:59:59 pm
Thanks for your answer... Web Developper Tools (addon of firefox) find no html error... firebug point no js error... But you should be right, that what your screenshot shows. The display is normal when i don't use this attribute plugin, nevertheless.
Sounds strange that there is a personal error in my admin : i use standard admin template, and no other addon for virtuemart...  :(
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 06, 2012, 15:04:37 pm
walkyrie, are you using the MOST current version of vmart?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: walkyrie on April 06, 2012, 15:06:26 pm
well, i'm using the 2.0.2 version... the last official release.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: walkyrie on April 06, 2012, 15:14:21 pm
For the moment I manually erase the corresponding line in the Database virtuemart_products_customfields... a little bit ennoying  :o
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 06, 2012, 15:18:34 pm
For the moment I manually erase the corresponding line in the Database virtuemart_products_customfields... a little bit ennoying  :o

what happens when you change the name of the plugin to NOT include &?

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: walkyrie on April 06, 2012, 15:26:22 pm
This could be a good idea! i didn't thought about that... unfortunately i tried, but it didn't change anything. For information, I try with a totally new test product, with only the name filled...

(thanks one more time for the time you take for me, and for the fight with the captcha, for each message!)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 06, 2012, 18:21:02 pm
what browser?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: walkyrie on April 06, 2012, 18:43:19 pm
I tried with IE9 & FF...
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 06, 2012, 19:15:27 pm
Quote
I have a little problem : When i use the same attribute two times (i don't have to do that, but i did, my mistake), i can't erase one of the two attributes. When i click on the red cross, nothing happen... Any idea somenone?

I can reproduce this issue. It happens when selecting "yes" -> "Is a list?" in the custom fields settings.It works fine when selecting "No". In the first case it looks like your pic, in the second it looks like Banquets pic.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 06, 2012, 19:23:25 pm
Quote
I have a little problem : When i use the same attribute two times (i don't have to do that, but i did, my mistake), i can't erase one of the two attributes. When i click on the red cross, nothing happen... Any idea somenone?

I can reproduce this issue. It happens when selecting "yes" -> "Is a list?" in the custom fields settings.It works fine when selecting "No".

there is no reason to use "is a list"

Because the plugin is a "true" list



Guys , an Update is coming. I have someone working on it for me to fix price being wrong when the product is added 2 times, with different price options.

ALSO: the storage will be a little different

Small, Medium |+10,Large|+20

BUT: that can be fixed with an sql update "replace" statement. To fix all the options already added to products
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: cmalo on April 07, 2012, 15:50:04 pm
Is it with this plugin also possible to have stock control ?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 08, 2012, 15:52:13 pm
Is it with this plugin also possible to have stock control ?

no
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: walkyrie on April 10, 2012, 08:24:15 am
Quote
I have a little problem : When i use the same attribute two times (i don't have to do that, but i did, my mistake), i can't erase one of the two attributes. When i click on the red cross, nothing happen... Any idea somenone?

I can reproduce this issue. It happens when selecting "yes" -> "Is a list?" in the custom fields settings.It works fine when selecting "No". In the first case it looks like your pic, in the second it looks like Banquets pic.

PATBE60 : THANK YOU VERY MUCH!!!

And thanks to BanquetTables.pro one more time,

Now, it's perfect!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: corymp on April 11, 2012, 02:26:06 am
BTP When I update the quantity of an item I added to cart, The discount doesn't update. Do you plan on fixing that in this plugin?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 11, 2012, 14:13:37 pm
BTP When I update the quantity of an item I added to cart, The discount doesn't update. Do you plan on fixing that in this plugin?

checking on it

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 11, 2012, 16:10:47 pm
BTP When I update the quantity of an item I added to cart, The discount doesn't update. Do you plan on fixing that in this plugin?


Some things are going to have to be changed in the core for this to work.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: corymp on April 11, 2012, 16:49:55 pm
Yes because I noticed the same thing even for products not using your plugin

Can this be tagged as a bug?

Sent from my Galaxy Nexus using Tapatalk 2
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 11, 2012, 18:14:18 pm
well, i'm using the 2.0.2 version... the last official release.

there is a newer version , it is a security release
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: corymp on April 11, 2012, 19:16:04 pm
BTP Just want to say, the issue with discounts is fixed in the stable 2.0.4 release
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 11, 2012, 19:19:13 pm
Guys there is an update coming for this.

I had to pay someone to fix it,

BUT: I have not paid him yet.

I dont feel right releasing it, until I at least pay him:D
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: corymp on April 11, 2012, 19:20:38 pm
Tell me what's in the update, If it's worth it to me, I'll donate something :P
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 11, 2012, 19:28:51 pm
Tell me what's in the update, If it's worth it to me, I'll donate something :P


1st is a security fix

Then, I dont know if you guys are still having problems with 2.0.4 with the pricing being not correct when you add

1 Option with Price 1

1 Option with price 2, from the same product,.

But thats fixed as well.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 11, 2012, 19:44:27 pm
So it's not ready to download yet? If you want to be paid for it, it's ok for me! You have maid a good work!

Could you check also this topic please?

http://forum.virtuemart.net/index.php?topic=101012.0
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: phz on April 11, 2012, 21:08:10 pm
Tell me what's in the update, If it's worth it to me, I'll donate something :P


1st is a security fix

Then, I dont know if you guys are still having problems with 2.0.4 with the pricing being not correct when you add

1 Option with Price 1

1 Option with price 2, from the same product,.

But thats fixed as well.



That price thing is not resolved yet with update 2.0.4, needs update for your plugin. Hope to see download link soon for updated version! ATM it's pretty non-working thing when users can buy only one product at time...
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Bruce Morgan on April 12, 2012, 00:23:27 am
This was mentioned once before but I need to have mandatory selection of one of the dropdown selections and I imagine that most people would too.  I tried deleting the custom dropbox title but that did not work.  Is this somethng that could be added?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Monchi on April 16, 2012, 13:56:40 pm
I love this plugin, but i want to put more information into the Inputfield in the backend.
I modifyed the database but in the admin backend the inputfield is limeted to 255 chars by using maxlength="255".

Where can i change this?

THX
Monchi
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: kimbukhari on April 17, 2012, 11:39:37 am
Dear All, I am new to Joomla and learning it. I have added the plugin and it is working great but I do not need to show the "Price : : free" after each of my fields as the attributes i have added makes no changes in the price value. What to do and how to remove it. Please respond. Thanks a lot!!!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Monchi on April 17, 2012, 12:20:02 pm
You can edit your Product and delete the 0 at the bottom of the customfields configuration.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Jeff Marsh Photo on April 17, 2012, 13:41:44 pm
I love this plug-in. I have two separate ones on the test products for different purchasing options. However, I need to be able to add it to 300 photos at the same time, not one at a time. In fact I have a 24,000 I desperately need to add it to....
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 17, 2012, 14:57:55 pm
I love this plug-in. I have two separate ones on the test products for different purchasing options. However, I need to be able to add it to 300 photos at the same time, not one at a time. In fact I have a 24,000 I desperately need to add it to....

what do you mean add it to photos?

I use vsv improved to add it to many products at once

http://www.csvimproved.com/index.php?option=com_content&view=article&id=778:custom-fields-import-and-export&catid=181:tutorials

I just create the first one, and then export csv

Then, copy and paste
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: domin8tor24 on April 18, 2012, 02:37:55 am
Just installed on website +1 for this plugin, works great!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: edcv on April 18, 2012, 18:00:33 pm
Thank your for this GREAT plugin!
It will save me alot of work. thanks!

I had minor problems with the function of the plugin:

I wanted to be able to use negative and positive numbers as attributes so I added [ in front of - and + in the following lines:
48,51,54,67,68,85,88,93,94
This makes it possible for me to use +5[-1,-4[+1
then +5 and -4 are attributes and price change is done by the value behind [

Also I replaced , with ; in the explode function in line 42 to enable me to use the comma in my attribute, like so:5,00[-1;-4,5[+1
(some european countries prefer , over . as decimal marker.)

Thanks again for the plugin!

Cheers
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: edcv on April 18, 2012, 18:40:50 pm
Bonus question:
Does anyone know why there is a limit on the number of characters I can put in the attributes on the product level?

It works fine to add inf number of characters in the custom field but when I try to change them on the product level I can only remove characters until I'm below certain number.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 18, 2012, 18:47:06 pm
Bonus question:
Does anyone know why there is a limit on the number of characters I can put in the attributes on the product level?

It works fine to add inf number of characters in the custom field but when I try to change them on the product level I can only remove characters until I'm below certain number.

how many characters?

http://www.javascriptkit.com/script/script2/charcount.shtml
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: mike_9000 on April 18, 2012, 20:17:43 pm
Sounds really good. How might I download your plugin, please.

If I click on the attachment at the top of the first post in this thread, It links to the same page, rather than to a file.

Rgds
Mike
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 18, 2012, 20:48:04 pm
Sounds really good. How might I download your plugin, please.

If I click on the attachment at the top of the first post in this thread, It links to the same page, rather than to a file.

Rgds
Mike

There is a link in first post
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: kimbukhari on April 19, 2012, 09:36:25 am
After going to the Product edit page and removing "0" value from the custom field, it is still showing the same label after the field. :(

Please advice something!!!

Regards,

Kim
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: edcv on April 19, 2012, 13:39:39 pm
Bonus question:
Does anyone know why there is a limit on the number of characters I can put in the attributes on the product level?

It works fine to add inf number of characters in the custom field but when I try to change them on the product level I can only remove characters until I'm below certain number.

how many characters?

http://www.javascriptkit.com/script/script2/charcount.shtml

255

 . . . not sure where it is set though
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 19, 2012, 15:08:11 pm
If you want to use more then 255 characters, (i know its not the best way) you can edit the file: administrator/com_virtuemart/views/product/tmpl/product_edit_custom.php

in line 136 change

<?php echo  $tables['customPlugins'];?>

to

<?php //echo  $tables['customPlugins'];?>
$output = str_replace("maxlength=\"255\"","",$tables['customPlugins']);
echo $output;

after that, go to you Database. Open your Table "prefix_virtuemart_customs" and change the type of "custom_value" to text.

Now you can use nearly endless amount of characters.


its not custom_value

Its

custom_param   that the data is held in

and we do not support hacks to the core!!!!!!!!!!!!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: mike_9000 on April 19, 2012, 17:03:44 pm
I have clicked on all of the links in the first post, and none of them download a file - the link with an 'attachment' paper clip logo links to the page I am already on!

I've tried everything and I just can't find the plugin.

I have looked at the webpage, with screenshots, which describes how to works, and this is exactly what I need - any suggestions , please?

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 19, 2012, 17:11:07 pm
http://www.kaizenmediaworks.com/virtuemart-2-0-custom-field-dropbox-plugin
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Monchi on April 19, 2012, 21:07:03 pm
sorry, i just wanna help... 
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: mike_9000 on April 21, 2012, 11:43:41 am
All installed and working now - and exactly what I need. Thanks for the work you have put in to this - and to the guy who provided the link.

Two people have already suggested making selections mandatory, and I would like to add my vote to that. At present, it's possible that the customer will overlook the selection box and accidentally order the default item rather than the variation they want. Ideally, the default would be 'Select' and they would have to change this to one of the options before they could move on.

Rgds
Mike
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: xrimm on April 23, 2012, 11:51:49 am
Hi!
Great work!
How i can translate (or remove) "add $" ?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 23, 2012, 13:53:26 pm
Hi!
Great work!
How i can translate (or remove) "add $" ?


the new version does this for you.

Its not released yet
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 25, 2012, 22:24:10 pm
updated
now fields are stored
Red,Blue|10,Yellow|-20,Purple

TO do an sql update
BACKUP FIRST
update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'+','|+')
update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'-','|-')
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: kimbukhari on April 25, 2012, 23:32:50 pm
Guys.... Please help me! No one responding to my question. I need to remove the Label "Price" and its value "Free" which appears after each of the dropbox field. How to do this? Please help me! For God sake.....  :'( Please see the attached screen shot

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 26, 2012, 12:38:49 pm
Guys.... Please help me! No one responding to my question. I need to remove the Label "Price" and its value "Free" which appears after each of the dropbox field. How to do this? Please help me! For God sake.....  :'( Please see the attached screen shot

http://forum.virtuemart.net/index.php?topic=93360.0
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 26, 2012, 16:13:13 pm
Quote
Red,Blue|10,Yellow|-20,Purple

To me it's not working this way. Options in the options field always are deleted after saving. May be the | is not accepted.

I need to go to the customfield tab of a product, and after choosing the custom field type  to write it directly into the "Drop Box Selections seperated by comma" field.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 26, 2012, 17:02:56 pm
Quote
Red,Blue|10,Yellow|-20,Purple

To me it's not working this way. Options in the options field always are deleted after saving. May be the | is not accepted.

I need to go to the customfield tab of a product, and after choosing the custom field type  to write it directly into the "Drop Box Selections seperated by comma" field.



Yes the "template" will only save

Red,Blue,Green etc.

for price variations, you have to edit the actual product custom field.

I do not know why, I have looked into this.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 26, 2012, 17:05:39 pm
Ok, thanks, good to know.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: patrik60 on April 26, 2012, 17:08:13 pm
Check also the update of this topic. I tried it with the drop box plugin. Only the first value works with language string. it will be translated perfectly, for the following values only the language strings are visible.

Link: http://forum.virtuemart.net/index.php?topic=96758.msg318220#msg318220
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: kimbukhari on April 26, 2012, 23:45:23 pm
Guys.... Please help me! No one responding to my question. I need to remove the Label "Price" and its value "Free" which appears after each of the dropbox field. How to do this? Please help me! For God sake.....  :'( Please see the attached screen shot

http://forum.virtuemart.net/index.php?topic=93360.0

Thanks for the thread but again a problem :( I am unable to find that .ini file in overrides folder as there is only file "index.html"... What to do???

KB
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 27, 2012, 12:46:13 pm
Guys.... Please help me! No one responding to my question. I need to remove the Label "Price" and its value "Free" which appears after each of the dropbox field. How to do this? Please help me! For God sake.....  :'( Please see the attached screen shot

http://forum.virtuemart.net/index.php?topic=93360.0

Thanks for the thread but again a problem :( I am unable to find that .ini file in overrides folder as there is only file "index.html"... What to do???

KB

http://forum.virtuemart.net/index.php?topic=92944.0
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: marcof on April 27, 2012, 17:37:00 pm
Hello everybody, I have a question:

I want to create several dropboxes for different features, for example: colour, size..etc..
BUT, I have different sets of sizes, and different sets of colours. But nomatter which article, I just want to call it 'Size' or 'Colour'

If I do that, the plugin creates a unique code which is useless in the frontend.

My guess would be: use the Custom Dropbox Title and call it 'Size' or 'Colour', and give the custom created field a name so you can recognize which set of sizes or colours it is. However: the Custom Dropbox Title is not overriding the Title field, so in the frondend I get useless (long) names or I have to try all my newly created custom fields as I cannot properly name them.

Hope you understand what I mean, summary: Is the Custom Dropbox Title supposed to override the original title and if so, why does it not work? Help!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 27, 2012, 18:56:43 pm
Hello everybody, I have a question:

I want to create several dropboxes for different features, for example: colour, size..etc..
BUT, I have different sets of sizes, and different sets of colours. But nomatter which article, I just want to call it 'Size' or 'Colour'

If I do that, the plugin creates a unique code which is useless in the frontend.

My guess would be: use the Custom Dropbox Title and call it 'Size' or 'Colour', and give the custom created field a name so you can recognize which set of sizes or colours it is. However: the Custom Dropbox Title is not overriding the Title field, so in the frondend I get useless (long) names or I have to try all my newly created custom fields as I cannot properly name them.

Hope you understand what I mean, summary: Is the Custom Dropbox Title supposed to override the original title and if so, why does it not work? Help!

ONCE, you create a


YOU use the SAME one, BUT just change it.

I create a

Color
Red,Blue,Green,Yellow   

etc.   THEN, go to all the products that have that exact color set. and apply them.
THEN: that color set is saved for THE PRODUCT.

THEN, I go back and change the same custom field to

Purple,Pink,Orange

and then apply it to the products that have those colors.


You can change the picture below after you have applied it to products, WITHOUT it changing the products it has been applied to.



[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: kimbukhari on April 28, 2012, 01:15:13 am
Guys.... Please help me! No one responding to my question. I need to remove the Label "Price" and its value "Free" which appears after each of the dropbox field. How to do this? Please help me! For God sake.....  :'( Please see the attached screen shot

http://forum.virtuemart.net/index.php?topic=93360.0

Thanks Dear, finally I am able to remove the "free" value against Price. You are really a "Hero" member :)
One thing more i would like to ask. I created a parent and child field and applied to a product, I got an error message and my site didn't loaded. Please see the attached screen shot and advice what mistake i have made in creating the dropdown field using your plugin.

Regards,

Kim

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: marcof on April 29, 2012, 10:50:03 am
Thans BTP, but it sounds impossible to fill my shop like that.

We sell clothes and shoes from different manufacturers, each with its own line, and in that line, different colours and sizes. So, if from brand A I want to add a product, I have to create a set of colours, go back to the custom fields, create a size set, back to the product, apply... Next article from the same brand has a different set of colours..

I have to add 2000 articles...
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: marcof on April 29, 2012, 11:00:12 am
Is'nt it easier to make the Dropbox Title override the title field at the front end in the shop? Then we can create all sets of sizes and colours with different names and publish them instantly while creating a product, and showing the attribute name we want!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 29, 2012, 14:27:58 pm
Is'nt it easier to make the Dropbox Title override the title field at the front end in the shop? Then we can create all sets of sizes and colours with different names and publish them instantly while creating a product, and showing the attribute name we want!

^^^


u can do this as well
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: marcof on April 29, 2012, 15:32:21 pm
Is'nt it easier to make the Dropbox Title override the title field at the front end in the shop? Then we can create all sets of sizes and colours with different names and publish them instantly while creating a product, and showing the attribute name we want!

^^^


u can do this as well

Tell me how!! :-)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on April 29, 2012, 16:25:45 pm
Is'nt it easier to make the Dropbox Title override the title field at the front end in the shop? Then we can create all sets of sizes and colours with different names and publish them instantly while creating a product, and showing the attribute name we want!

^^^


u can do this as well

Tell me how!! :-)

Actually, I just checked and its not like this anymore.

It was like that.

I had to pay someone to fix some issues with it, and some things changed.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: marcof on April 29, 2012, 16:34:30 pm
Ow...maybe a little change but it has some serious consequences... :-(

Is there anyway to restore this option?? I think it is essential for a proper functionality of virtuemart!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: kimbukhari on May 04, 2012, 19:34:00 pm
Guys.... Please help me! No one responding to my question. I need to remove the Label "Price" and its value "Free" which appears after each of the dropbox field. How to do this? Please help me! For God sake.....  :'( Please see the attached screen shot

http://forum.virtuemart.net/index.php?topic=93360.0

Thanks Dear, finally I am able to remove the "free" value against Price. You are really a "Hero" member :)
One thing more i would like to ask. I created a parent and child field and applied to a product, I got an error message and my site didn't loaded. Please see the attached screen shot and advice what mistake i have made in creating the dropdown field using your plugin.

Regards,

Kim

Please respond..........
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 04, 2012, 20:01:08 pm
Guys.... Please help me! No one responding to my question. I need to remove the Label "Price" and its value "Free" which appears after each of the dropbox field. How to do this? Please help me! For God sake.....  :'( Please see the attached screen shot

http://forum.virtuemart.net/index.php?topic=93360.0

Thanks Dear, finally I am able to remove the "free" value against Price. You are really a "Hero" member :)
One thing more i would like to ask. I created a parent and child field and applied to a product, I got an error message and my site didn't loaded. Please see the attached screen shot and advice what mistake i have made in creating the dropdown field using your plugin.

Regards,

Kim


what you mean "parent and child field"   ?


a "group" of fields?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: kimbukhari on May 04, 2012, 20:27:32 pm
Yes I mean to say group of fields, then i got the error message what i attached previously.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 04, 2012, 22:23:32 pm
Yes I mean to say group of fields, then i got the error message what i attached previously.

I dont think you can group plugins
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: domin8tor24 on May 07, 2012, 05:40:26 am
Again, great plug in making it easy. I haven't installed the latest version as I like the use of the title to be the first option in the list, however is there a way to remove the "add $xx" after the price. The change in price is fine, however I can see from a customer standpoint that the say, "add $10" means that they would need to add another $10 onto the price had they not seen the price change.
Thanks!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 07, 2012, 11:06:01 am
Again, great plug in making it easy. I haven't installed the latest version as I like the use of the title to be the first option in the list, however is there a way to remove the "add $xx" after the price. The change in price is fine, however I can see from a customer standpoint that the say, "add $10" means that they would need to add another $10 onto the price had they not seen the price change.
Thanks!

The newest version has a security fix

and as far as a way, yes thats possible.

I will not do it though, because I dont want mine to be that way.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Giannis86 on May 08, 2012, 14:29:12 pm
Hello BanquetTables.pro and everyone contributing in this thread,

thank you for this plugin. Great time saver so far.

I have a question though. The additional price in the dropbox that is shown is without tax. Is it possible to make it display the extra price with tax instead?
The option price does get updated normally in the total price (product + option + tax) but it would be nice if the customer could see the total price for the option itself with tax. It would avoid a lot of confusion.

Here is a link as an example
http://www.stunning-corals.nl/testsite/index.php/webshop/pompen/opvoerpompen/red-dragon-6000-detail

The price for the option "Met Antikalk bypass" that i shown is 66.39. This is the price without 19% tax. Is it possible to make it display 79 (the price including tax).

I hope you can help me out.

Once again thank you for the plugin

Ioannis
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 18, 2012, 00:35:52 am
Hi. I've just did a simples test in one Product by adding a Custom Field with +10 to the default price: 20
In Product Details Page works perfect 20 + 10 = 30 and price auto updates...

But when i click in popup to do the checkout and go to the Cart page... i cant see that Custom Field Price in the Product ...

The product have the default price value "20" and not the correct value of 30 .....

But i dont know if the problem is from the plugin or from anything else, can you help me please ?!
Tks
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 18, 2012, 02:12:02 am


But i dont know if the problem is from the plugin or from anything else, can you help me please ?!
Tks


sounds like an override in the cart, it works for me
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 18, 2012, 04:43:29 am
even if was an override in cart file....
i've changed the folder name of my_template/html/com_virtuemart  to com_virtuemarrtt
to close all overrides and it still the same
in product details works... but there is no price update in the Product Cart checkout Table...
Only the default price and taxes...

i've also did like you said in your great website ....
With No Overrides (Zero because i've changed the folder name)!
with the same example: Small,Medium| +5,Large| +10
everything works on Product Details page.... i«ve selected Large (+5)... but when i click in 'Add to cart' buton and go to checkout page... i see that the price doesnt change :-\
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: CMYKreative on May 18, 2012, 05:59:43 am
Not sure what I'm doing wrong, but I need to update the DB, but can't get it to do it properly.

In the instructions, it says:

update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'+','|+')
update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'-','|-')

How do I get this to run?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: kimbukhari on May 18, 2012, 07:46:28 am
Dear Technical Guys,

I am also having the same situation, rather a little worst!

1- When I use the pipe "|" sign to add amont option, on saving all the values disappears and the dropdown becomes empty.
2- If I do not use "|" sign instead i just use +25, It adds up into the discount amount and shows a change and increases already discounted amount but the original/offered price do not changes.

Please advice as I am just on the edge of getting my site up but hanging due to this flaw :'(

Regards,

Kimbukhari
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 18, 2012, 13:08:04 pm
Not sure what I'm doing wrong, but I need to update the DB, but can't get it to do it properly.

In the instructions, it says:

update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'+','|+')
update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'-','|-')

How do I get this to run?

jos_    you need to change the jos to YOUR table prefix
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 18, 2012, 13:08:58 pm
even if was an override in cart file....
i've changed the folder name of my_template/html/com_virtuemart  to com_virtuemarrtt
to close all overrides and it still the same
in product details works... but there is no price update in the Product Cart checkout Table...
Only the default price and taxes...

i've also did like you said in your great website ....
With No Overrides (Zero because i've changed the folder name)!
with the same example: Small,Medium| +5,Large| +10
everything works on Product Details page.... i«ve selected Large (+5)... but when i click in 'Add to cart' buton and go to checkout page... i see that the price doesnt change :-\


what happens when you enable all price fields? in price configuration?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 18, 2012, 13:12:49 pm
Dear Technical Guys,

I am also having the same situation, rather a little worst!

1- When I use the pipe "|" sign to add amont option, on saving all the values disappears and the dropdown becomes empty.
2- If I do not use "|" sign instead i just use +25, It adds up into the discount amount and shows a change and increases already discounted amount but the original/offered price do not changes.

Please advice as I am just on the edge of getting my site up but hanging due to this flaw :'(

Regards,

Kimbukhari


The price modifier can only be done on the "product level"

Here
http://www.kaizenmediaworks.com/images/files/custom-field.png

^^^ You can only do the "comma separated list"

INSIDE the product you do
Red,Green,Blue|+5,Yellow

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 18, 2012, 15:00:37 pm
i've updated the plugin .. but now the price dont work (dont do the automatic update) in my Product Details page....  (no override template)

I've got again a brand new instalation J+VM ... with default J template...
i'll instal your Plugin and test again there to report...
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 18, 2012, 15:11:38 pm
in the brand new J2.5.4+VM(2.0.7c)

1st step:
Installing plugin was successful.
VMCUSTOM_DROP_BOX_DESC


2nd: i go  to /index.php?option=com_plugins&view=plugins
and clicked in enable
"Plugin successfully enabled"

3rd step:
index.php?option=com_virtuemart&view=custom
and create NEW
-> Custom Field Type: Plugins
Published Yes
Title: price test
Cart Attribute: yes
Select a plug-in: VMCustom - dropbox
Custom Dropbox: Title: price test
Options: Small,Medium| +5,Large| +10
I've hit Save & Close

4th step: in the product area  (index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id=1&product_parent_id=0)
Last Tab: Custom Field
I've hit in bottom: Custom Field Type
Drop Box Selections seperated by comma: Small,Medium| +5,Large| +10
I've hit: Save & Close

Now its time to go to the front End ..
Dont work if we select for example:
'price test title'  LARGE (10,00 )
The price got the same value!

But ok, i hit in ADD TO CART by the same way and....
Total: 2,00 €
Its a bug ? it should be 10 (Custom Field Price for LARGE) + 2 (Product Price)   = 12,00

See here: http://img341.imageshack.us/img341/4597/new3g.jpg
Brand New .. No more 3rd plugins/modules/components instaled (only Joomla and VM default ones)

in Tables SQL and website front end now:
http://img96.imageshack.us/img96/4301/tableupdate.jpg
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 18, 2012, 17:05:31 pm

3rd step:
index.php?option=com_virtuemart&view=custom
and create NEW
-> Custom Field Type: Plugins
Published Yes
Title: price test
Cart Attribute: yes
Select a plug-in: VMCustom - dropbox
Custom Dropbox: Title: price test
Options: Small,Medium| +5,Large| +10
I've hit Save & Close


IF IT HAS a price variant, DO NOT do it here  index.php?option=com_virtuemart&view=custom

HERE     index.php?option=com_virtuemart&view=custom
You ONLY save "templates" that are NOT price variants, Like here   http://www.kaizenmediaworks.com/images/files/custom-field.png


AND::;   

WHY did you do the sql update when you just tested this?

The SQL update was to convert the database from the 1st version of this, to the 2nd version.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 18, 2012, 21:14:24 pm
Hi. What is or mean the "price variant" ?
I just got/work with 1 price, it's the product final price (with tax)... that i've inserted in the Product admin page..
It's not possible to have an increment in the Product Final Price + Custom Field (extra price) ?


I just did that sql update before all that first test...
I dont understand why the product final price is the same.. so i just was trying to see if whit that sql update was different...
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 18, 2012, 21:52:46 pm
Hi. What is or mean the "price variant" ?
I just got/work with 1 price, it's the product final price (with tax)... that i've inserted in the Product admin page..
It's not possible to have an increment in the Product Final Price + Custom Field (extra price) ?


I just did that sql update before all that first test...
I dont understand why the product final price is the same.. so i just was trying to see if whit that sql update was different...

go into your price configuration, and enable all of them, and see what happens?


and a "price variant" is an option that changes price.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 18, 2012, 22:39:46 pm
sorry BT.pro, i cant fint "price configuration" label did you mean any of this print screen images:
http://img443.imageshack.us/img443/2232/85313780.jpg
http://img543.imageshack.us/img543/4675/51654525.jpg
http://img85.imageshack.us/img85/4186/53364424.jpg
http://img713.imageshack.us/img713/4937/49511163.jpg
http://img802.imageshack.us/img802/794/49825871.jpg

or its in another place?!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 18, 2012, 23:24:26 pm
sorry BT.pro, i cant fint "price configuration" label did you mean any of this print screen images:

or its in another place?!

http://img802.imageshack.us/img802/794/49825871.jpg

enable them all and see what happens
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 18, 2012, 23:25:59 pm
okie dokie!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 18, 2012, 23:30:50 pm
i need to remove the DB ?
Since i've done the SQL update the Price in drop down list (Front end) disappear

http://img94.imageshack.us/img94/2259/test1qm.jpg
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 19, 2012, 01:12:51 am
i need to remove the DB ?
Since i've done the SQL update the Price in drop down list (Front end) disappear

http://img94.imageshack.us/img94/2259/test1qm.jpg


Go to the product, and the admin, and see if itsa like this

Red,Blue,Yellow|+10,Green


NEVER put a "comma" at the end of the line.

and MAKE sure there are NOT 2   ||
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 19, 2012, 01:20:27 am
now i get back the price in your Custom Field Plugin...
http://img52.imageshack.us/img52/7302/test2eni.jpg

But... I've clicked on Yellow (+10,00)  and i saw a litle "refresh colour" hover the Price but.... doesnt change the default value "2.00".
The Product Price value persists at 2.00 €  not 2+10= 12.00 € like it should be...
I've also clicked in "add to cart" but its the same... only show 2.00 €

Cart:
http://img404.imageshack.us/img404/7795/test3jw.jpg
like you could see the "Yellow" word at bottom of the image ... but no information about +10 in any place ...
Even in the mini cart at left side ...
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 19, 2012, 02:15:02 am
are you using child products?

are you using discounts as markups?


Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 19, 2012, 02:24:58 am
nop...
In all print screen images that i've sent i am showing the brand new instalation folder in the localhost with the name "novo".
Just only got 1 product inserted in the DB, and I even didnt the instalation of the default VM2 data.
http://img232.imageshack.us/img232/6291/test4q.jpg
http://img191.imageshack.us/img191/2048/test5a.jpg

After that i was in another instalation folder (the oldest one) that i am working since november/december called "mp5"  in the same localhost (Softaculous AMPPS).
I dont have any child products in both cases. i think i wont use that because i must read more about "child products" information to know better if is really needed to my fathers store..
About the discounts = cupon codes?
I dont activate this and never tested yet... maybe i will test that and use in the future.. like a cupon code for facebook fans or something else...

PS: i never tested an order since VM 2.0.0... because is near the last step of a online website...
I'm yet checking this 2nd steps in order to jump to another step and do the simulation Order ..
and then (finally) search a cheapest webhost and configure emails to test again if everything is working fine...
i think that i cant test emails in localhost :S (i must read more about that too)


thanks for the attention for you're giving. I am just reporting
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: CMYKreative on May 19, 2012, 03:36:06 am
Not sure what I'm doing wrong, but I need to update the DB, but can't get it to do it properly.

In the instructions, it says:

update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'+','|+')
update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'-','|-')

How do I get this to run?

jos_    you need to change the jos to YOUR table prefix

OK, changed the jos_ to the correct prefix and I get this:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update berke_virtuemart_product_customfields set custom_param=replace(custom_par' at line 2

Any ideas?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 19, 2012, 13:22:23 pm
Not sure what I'm doing wrong, but I need to update the DB, but can't get it to do it properly.

In the instructions, it says:

update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'+','|+')
update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'-','|-')

How do I get this to run?

jos_    you need to change the jos to YOUR table prefix

OK, changed the jos_ to the correct prefix and I get this:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update berke_virtuemart_product_customfields set custom_param=replace(custom_par' at line 2

Any ideas?

 'update berke_virtuemart_product_customfields set custom_param=replace(custom_par'

^^^^ THAT IS NOT THYE WHOLE SATTEMENT

CUSTOM_PAR    ???


TO do an sql update
BACKUP FIRST
update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'+','|+')
update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'-','|-')
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 19, 2012, 15:56:34 pm
BanquetTables.pro, there is any solution to what i've explained?!
Or the plugin only works in VM 2.0.6 for example ?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 19, 2012, 16:00:23 pm

PS: i never tested an order since VM 2.0.0... because is near the last step of a online website...


u can test local email, look at image below for setup

u have to use SMTP



[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 19, 2012, 16:01:23 pm
BanquetTables.pro, there is any solution to what i've explained?!
Or the plugin only works in VM 2.0.6 for example ?

Lipes, there will be something else conflicting,

I am using it on my site.


does your "add to cart form"

have   a class assigned to it

js-recalculate    ?


Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 19, 2012, 16:26:26 pm
its the default joomla + virtuemart template (no overrides)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 19, 2012, 16:30:31 pm
just see/test here: http://outros.net23.net/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=17&virtuemart_category_id=7
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: iomiom on May 21, 2012, 13:55:39 pm
Hello,

I have a problem with your plugin.
The custom stuff (ex  :RED) does not appearede in the order detail. So We cannot see what coulor customer ordered...

Thank you for your help
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on May 21, 2012, 14:20:13 pm
Hello,

I have a problem with your plugin.
The custom stuff (ex  :RED) does not appearede in the order detail. So We cannot see what coulor customer ordered...

Thank you for your help

Just found this this morning


Working on it
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on May 23, 2012, 22:22:36 pm
I've tested in last instalation J+VM in the VM Custom Fields without the plugin...
dont work... maybe (almost certainly) its problem in code of VM Custom Fields and not from your plugin.

In the product layout the price changes automatic... when we change the Size of the Circular Saw {50 24.60€}, {60 49.20€}, etc....

But if we add to the cart the problem persist... so now i think taht the problem its in the Virtuemart CustomFields code.... because i dont have modules/components/plugins instaled...
only the default j+vm 2.0.7c with the default data...

best regards!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Giannis86 on June 01, 2012, 09:59:24 am
Dear BanquetTables.pro,

Do you maybe have a solution for the following issue?

Quote
The additional price in the dropbox that is shown is without tax. Is it possible to make it display the extra price with tax instead?
The option price does get updated normally in the total price (product + option + tax) but it would be nice if the customer could see the total price for the option itself with tax. It would avoid a lot of confusion.

Here is a link as an example
http://www.stunning-corals.nl/testsite/index.php/webshop/pompen/opvoerpompen/red-dragon-6000-detail

The price for the option "Met Antikalk bypass" that i shown is 66.39. This is the price without 19% tax. Is it possible to make it display 79 (the price including tax).
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 01, 2012, 13:25:33 pm
Dear BanquetTables.pro,

Do you maybe have a solution for the following issue?



No
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on June 01, 2012, 17:38:39 pm
BanquetTables.pro, there is any solution to what i've explained?!
Or the plugin only works in VM 2.0.6 for example ?
Lipes, there will be something else conflicting,
I am using it on my site.
does your "add to cart form"
have   a class assigned to it
js-recalculate    ?

Hi. I've just see this msg right now. In my /productdetails/default.php
I've got this:
Code: [Select]
<?php
// Add To Cart Button
//  if (!empty($this->product->prices) and !empty($this->product->images[0]) and $this->product->images[0]->file_is_downloadable==0 ) {
if (!VmConfig::get('use_as_catalog'0) and !empty($this->product->prices)) {
    echo $this->loadTemplate('addtocart');
}  // Add To Cart Button END
?>

I've also discovered this: http://forum.virtuemart.net/index.php?topic=103126.msg343546#msg343546
maybe this post could help explaining better what is the problem here...
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on June 01, 2012, 17:50:05 pm
did you mean in the default_addtocart.php ? If yes I've got this:

Code: [Select]
<div class="addtocart-area">

    <form method="post" class="product js-recalculate" action="index.php" >

<?php // Product custom_fields
if (!empty($this->product->customfieldsCart)) { ?>

    <div class="product-fields">
<?php foreach ($this->product->customfieldsCart as $field) { ?>
    <div class="product-field product-field-type-<?php echo $field->field_type ?>">
<span class="product-fields-title" ><strong><?php echo JText::_($field->custom_title?></strong></span>
<?php if ($field->custom_tip)
    echo JHTML::tooltip($field->custom_tipJText::_($field->custom_title), 'tooltip.png'); ?>

<span class="product-field-display"><?php echo $field->display ?></span>

<span class="product-field-desc"><?php echo $field->custom_field_desc ?></span>
    </div>
    <?php
}
?>


<?php
}
/* Product custom Childs
 * to display a simple link use $field->virtuemart_product_id as link to child product_id
 * custom_value is relation value to child
 */

if (!empty($this->product->customsChilds)) {
    ?>

    <div class="product-fields">
    <?php foreach ($this->product->customsChilds as $field) { ?>
    <div class="product-field product-field-type-<?php echo $field->field->field_type ?>">
<span class="product-fields-title" ><strong><?php echo JText::_($field->field->custom_title?></strong></span>
<span class="product-field-desc"><?php echo JText::_($field->field->custom_value?></span>
<span class="product-field-display"><?php echo $field->display ?></span>

    </div><br />
<?php ?>
    </div>
<?php ?>
</div>

<div class="clear"></div>

<div class="addtocart-bar">

<?php // Display the quantity box 

    
$stockhandle VmConfig::get('stockhandle''none');
    if ((
$stockhandle == 'disableit' or $stockhandle == 'disableadd') and ($this->product->product_in_stock $this->product->product_ordered) < 1) {
 
?>

<a href="<?php echo JRoute::_('index.php?option=com_virtuemart&view=productdetails&layout=notify&virtuemart_product_id='.$this->product->virtuemart_product_id); ?>"><?php echo JText::_('COM_VIRTUEMART_CART_NOTIFY'?></a>

<?php } else { ?>
<!-- <label for="quantity<?php echo $this->product->virtuemart_product_id?>" class="quantity_box"><?php echo JText::_('COM_VIRTUEMART_CART_QUANTITY'); ?>: </label> -->
    <span class="quantity-box">
<input type="text" class="quantity-input js-recalculate" name="quantity[]" value="<?php if (isset($this->product->min_order_level) && (int) $this->product->min_order_level 0) {
    echo 
$this->product->min_order_level;
} else {
    echo 
'1';
?>
" />
    </span>
    <span class="quantity-controls js-recalculate">
<input type="button" class="quantity-controls quantity-plus" />
<input type="button" class="quantity-controls quantity-minus" />
    </span>
    <?php // Display the quantity box END ?>

    <?php
    
// Display the add to cart button
    ?>

<span class="addtocart-button">
<input type="submit" name="addtocart"  class="addtocart-button" value="<?php echo JText::_('COM_VIRTUEMART_CART_ADD_TO'?>" title="<?php echo JText::_('COM_VIRTUEMART_CART_ADD_TO'?>" />
</span>
<?php ?>

</div>

<?php // Display the add to cart button END  ?>
<input type="hidden" class="pname" value="<?php echo $this->product->product_name ?>" />
<input type="hidden" name="option" value="com_virtuemart" />
<input type="hidden" name="view" value="cart" />
<noscript><input type="hidden" name="task" value="add" /></noscript>
<input type="hidden" name="virtuemart_product_id[]" value="<?php echo $this->product->virtuemart_product_id ?>" />
<?php /** @todo Handle the manufacturer view */ ?>
<input type="hidden" name="virtuemart_manufacturer_id" value="<?php echo $this->product->virtuemart_manufacturer_id ?>" />
<input type="hidden" name="virtuemart_category_id[]" value="<?php echo $this->product->virtuemart_category_id ?>" />
    </form>

    <div class="clear"></div>
</div>
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 01, 2012, 21:21:47 pm
lipes,

this is working on my site, and dont see how it could not be on yours
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on June 01, 2012, 21:52:11 pm
:(
i've got instaled maybe 3 new times the VM2 (2.0.6, the 2.0.7c and 2.0.7D) in the localhost just to test that..
i've got instaled online in http://outros.net23.net/

I cant get the custom field (with Price relation) working...  even with this Custom Field Dropbox Plugin (your plugin not work in the Product Details View) ...
No overrides and using the default joomla 2.5.4 and VM2 layout, with the Sample VM2 data instaled too...

dont know what could it be.. but i am not the unique user saying/reporting about this problem... its so strange..

OS: Windows 7; Java V6 update 31 build 1.6.0_31-b05; Database Version    5.5.22-log; Database Collation    utf8_general_ci; PHP Version    5.3.10; Web Server    Apache/2.2.22 (Win32) mod_ssl/2.2.22 OpenSSL/0.9.8t PHP/5.3.10 mod_wsgi/3.3 Python/2.7.2; WebServer to PHP Interface    apache2handler; Joomla! Version    Joomla! 2.5.4 Stable [ Ember ] 2-April-2012 14:00 GMT;
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 01, 2012, 22:36:04 pm
:(
i've got instaled maybe 3 new times the VM2 (2.0.6, the 2.0.7c and 2.0.7D) in the localhost just to test that..
i've got instaled online in http://outros.net23.net/

I cant get the custom field (with Price relation) working...  even with this Custom Field Dropbox Plugin (your plugin not work in the Product Details View) ...
No overrides and using the default joomla 2.5.4 and VM2 layout, with the Sample VM2 data instaled too...

dont know what could it be.. but i am not the unique user saying/reporting about this problem... its so strange..

OS: Windows 7; Java V6 update 31 build 1.6.0_31-b05; Database Version    5.5.22-log; Database Collation    utf8_general_ci; PHP Version    5.3.10; Web Server    Apache/2.2.22 (Win32) mod_ssl/2.2.22 OpenSSL/0.9.8t PHP/5.3.10 mod_wsgi/3.3 Python/2.7.2; WebServer to PHP Interface    apache2handler; Joomla! Version    Joomla! 2.5.4 Stable [ Ember ] 2-April-2012 14:00 GMT;

prolipes, this one works

http://outros.net23.net/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=8&virtuemart_category_id=2

I also, just logged in there again, and tried to see if I could work it out, and could not, not for the plugin
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on June 01, 2012, 22:42:57 pm
:)
if you add Size 40 dont work... the price should be 213,65 € and not 183,65 €

The Custom Field Text information in the Cart its correct...
but the problem its related with the price.. when we choose/change the size and add to the cart...
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lipes on June 01, 2012, 22:57:17 pm
discovered another thing about the problem:
In the administration area (in the product with that Custom Field) if we change the Order of the 'Custom Field Type' ...
The price will be different.. But the other options in Custom Field price selection will not work.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: domin8tor24 on June 04, 2012, 02:48:28 am
Hi again,

Thanks for the reply last time. I was wondering if there was the possibility/how to set a default option that will not add to the cart unless a custom option is chosen. I notice that the title that you put in under the product -> custom field turns grey, however you can still add this to the cart.

Thanks,


Joomla 2.5.4
VM 1.0.4
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: alexelbertse on June 08, 2012, 11:19:23 am
Hello ,

Thank you for this wondurfull plugin.

i only have one question. in my cart it now shows 2 lines of text per plugin. How can i change that?

See picture.

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 08, 2012, 12:46:09 pm
Hello ,

Thank you for this wondurfull plugin.

i only have one question. in my cart it now shows 2 lines of text per plugin. How can i change that?

See picture.

I have uploaded my most current version,. I dont know if its the same as you have or not.

If it does not fix the problem, you need to look into the vmart version you have
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: alexelbertse on June 08, 2012, 12:52:49 pm
The XML file of my says version 2.0 and the one on the web also.

my vm version is 2.0.6

Cant figure out how to remove the double lines..
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 08, 2012, 13:54:39 pm
It has been fixed in the latest svn I know

Its not like that on mine, but it was before
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: alexelbertse on June 08, 2012, 14:18:57 pm
It has been fixed in the latest svn I know

Its not like that on mine, but it was before

Ok where can i download the latest?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 08, 2012, 15:05:56 pm
It has been fixed in the latest svn I know

Its not like that on mine, but it was before

Ok where can i download the latest?

http://dev.virtuemart.net/projects/virtuemart/files
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: alexelbertse on June 08, 2012, 15:12:05 pm
ok thats an update of virtuemart. It is still in test fase.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: alexelbertse on June 11, 2012, 10:11:32 am
I downloaded your files for  the drop plugin. Saw that they where changed. If i use the latest of your site, the dubble text lines are gone, but no values are displayed.

I think it is a little bug in your line. Could you check that maybe?

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 11, 2012, 12:06:07 pm
I downloaded your files for  the drop plugin. Saw that they where changed. If i use the latest of your site, the dubble text lines are gone, but no values are displayed.

I think it is a little bug in your line. Could you check that maybe?



Its working on my live site, and also on my dev site
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: cspub on June 13, 2012, 07:52:52 am
does this solve the issue of cart variants not adding price but taking it as a discount? i have set up several cart variants to add price to product but instead it takes it as a discount
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 13, 2012, 14:22:12 pm
does this solve the issue of cart variants not adding price but taking it as a discount? i have set up several cart variants to add price to product but instead it takes it as a discount



Its working on my live site, and also on my dev site



^^^^
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: cspub on June 13, 2012, 15:50:04 pm
So is there a bug in vm 2.0.6 that causes the price variant to act as a discount? i've seen a lot of other post with same question. Do I have to use this plugin as a fix to that issue? I just need to have a modifier to add price to product for certain selection. Only 3 options with price that i need to add. thanks
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 13, 2012, 15:51:34 pm
So is there a bug in vm 2.0.6 that causes the price variant to act as a discount? i've seen a lot of other post with same question. Do I have to use this plugin as a fix to that issue? I just need to have a modifier to add price to product for certain selection. Only 3 options with price that i need to add. thanks

I just started hearing about this problem with your post.

ARE you sure its setup correct?

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: cspub on June 13, 2012, 15:55:32 pm
As far as I know it is. I used a Gavik template with it installed. I searched the VM forums and found a lot of post with same issue.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: alexelbertse on June 15, 2012, 13:03:46 pm
BanquetTables.pro first i want to thank you for this very good plugin and your fast feedback.

The problem with the discount is now fixed. I reinstalled it. But, the layout is totally messed up. and i really don`t now how to fix it.

could you please take a look at the site or advice on how to sort this layout?

See picture.

thank you in advance!

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 15, 2012, 13:32:51 pm
are you talking about the delete button?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: alexelbertse on June 15, 2012, 13:47:34 pm
are you talking about the delete button?

No about the custom fields under the image. (see marked area)

What i want is this:

Briljanten: 1
Maat Damesring: 15.5
Maat Herenring: 15.5
Gravure damesring: test
Gravure herenring: test

Like on your site (see image)





[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 15, 2012, 14:54:13 pm
alexelbertse,

I am using the latest SVN version of vmart

The <br/> is put in there by the system,

YOU COULD open

drop.php

and
in this function
function plgVmOnViewCart

change this
$html .=$separator.$item['custom_drop'].'</span>';


to this (For a temporary fix)
$html .=$separator.$item['custom_drop'].'</span><br/>';
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: alexelbertse on June 15, 2012, 15:10:04 pm
Thanks for your repley, but didn`t fix it. See picture.

Wich version are you using? Because the latest stable version is still 2.0.6 all the others are in beta.

Gr. Alex

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: cspub on June 15, 2012, 16:27:58 pm
what fixed the discount issue?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 15, 2012, 16:33:30 pm
BanquetTables.pro first i want to thank you for this very good plugin and your fast feedback.

The problem with the discount is now fixed. I reinstalled it. But, the layout is totally messed up. and i really don`t now how to fix it.

could you please take a look at the site or advice on how to sort this layout?

See picture.

thank you in advance!

do you have the most recent version of the plugin?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: jingle0 on June 16, 2012, 02:31:46 am
do I need to uninstall your previous drop plugin to upgrade to the new version plug in or just overwrite the old version

thx
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 16, 2012, 13:48:37 pm
overwrite the old version
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: jingle0 on June 16, 2012, 17:19:39 pm
thanks for your response.  that's what I thought and did.

I went from this:
Mirage 1 (product title)
Mirage 1 Screen Options Mirage1 Colour Choices (custom field titles)
Mirage 1 Screen Options : Large Touring Clear ,Mirage1 Colour Choices : OEM Colour Match (custom field titles with customer selections)

to this:
Mirage 1 (product title)
Mirage 1 Screen Options Mirage1 Colour Choices (custom field titles)

Basically it removed the values selected by the customer and left the headers. 
What I am really trying to get to is this :

Mirage 1 (product title)

Mirage 1 Screen Options : Large Touring Clear (custom field titles with customer selections)
Mirage1 Colour Choices : OEM Colour Match (custom field titles with customer selections)

Also the price adders that were associated with the custom items does not calculate with your new version.

Can you please help?

thanks
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 16, 2012, 18:08:54 pm
thanks for your response.  that's what I thought and did.

I went from this:
Mirage 1 (product title)
Mirage 1 Screen Options Mirage1 Colour Choices (custom field titles)
Mirage 1 Screen Options : Large Touring Clear ,Mirage1 Colour Choices : OEM Colour Match (custom field titles with customer selections)

to this:
Mirage 1 (product title)
Mirage 1 Screen Options Mirage1 Colour Choices (custom field titles)

Basically it removed the values selected by the customer and left the headers. 
What I am really trying to get to is this :

Mirage 1 (product title)

Mirage 1 Screen Options : Large Touring Clear (custom field titles with customer selections)
Mirage1 Colour Choices : OEM Colour Match (custom field titles with customer selections)

Also the price adders that were associated with the custom items does not calculate with your new version.

Can you please help?

thanks



how are you storing the fields?

They are like this
Red,Blue,Green|+10,Yellow

^^ its been like that for a long time now

http://www.kaizenmediaworks.com/virtuemart-2-0-custom-field-dropbox-plugin
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: jingle0 on June 16, 2012, 18:40:55 pm
sorry I must be missing something ...

this is how the custom fields are created
Select one, Yes |+17.00, No

I seen your comment about about changing the actual database table but didn't think it applied since everything except the formatting works.  Is that what I've missed?  :o

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 16, 2012, 18:48:20 pm
sorry I must be missing something ...

this is how the custom fields are created
Select one, Yes |+17.00, No

I seen your comment about about changing the actual database table but didn't think it applied since everything except the formatting works.  Is that what I've missed?  :o





The first version of it was like
Red+10,Green,Yellow+10,   etc.

But, now its

Red,Green|+5,Yellow
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: evano666 on June 17, 2012, 07:35:26 am
 Hi BanquetTables.pro

Firstly, thank you for this awesome plugin.  I have around 500 products in the store I am developing so this is a MASSIVE time saver for me!

I do have one problem with it though.  I have setup a rule for colours using your plugin.  I had previously set it up using the standard custom fields way.

Using this previous method, when a colour variant was selected, in the cart, it would list this under the product - I.e
Chiro Support Single Set
Base Colour - Navy

Using your plugin is shows it as such -

Chiro Support Single Set
Base Colour

Is there a reason for this?

Many thanks

evano
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: jingle0 on June 17, 2012, 07:39:44 am
ya, still not working for me.  I'm not sure we're talking about the same thing.

If I use your previous version I see 2 lines of text, 1 being the headers of the custom fields (no values) and the other being headers and values (these are what are selected by the customer).  I've reviewed the custom field content and it complies with what you said regarding the formatting.  Unfortunately I still get the same thing.  If I upgrade to your new version I don't get anything but the custom field headers .. no values, no formatting.  So what am I doing wrong?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: razvanadrian on June 18, 2012, 18:08:39 pm
hi,

Your plugin is very close to what i need, can you help me customize/modify it a little bit to meet my needs?

i am selling printed stuff, here is what i need, on the product page i need to have 2 dropboxes, first one u choose the material (canvas, paper, etc) and in the second one choose the dimensions, according to this, price changes, and what i have in the second dropbox depends on what i choose in the first one.

can i have this with your pligin? and a some customization?

thx a lot
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 18, 2012, 21:07:56 pm
hi,

Your plugin is very close to what i need, can you help me customize/modify it a little bit to meet my needs?

i am selling printed stuff, here is what i need, on the product page i need to have 2 dropboxes, first one u choose the material (canvas, paper, etc) and in the second one choose the dimensions, according to this, price changes, and what i have in the second dropbox depends on what i choose in the first one.

can i have this with your pligin? and a some customization?

thx a lot


No, I think you might need to use "child products"
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: razvanadrian on June 19, 2012, 00:16:03 am
hi,

Your plugin is very close to what i need, can you help me customize/modify it a little bit to meet my needs?

i am selling printed stuff, here is what i need, on the product page i need to have 2 dropboxes, first one u choose the material (canvas, paper, etc) and in the second one choose the dimensions, according to this, price changes, and what i have in the second dropbox depends on what i choose in the first one.

can i have this with your pligin? and a some customization?

thx a lot


No, I think you might need to use "child products"


out of the question, i have hundreds of items maybe more then a thousand. i need something like a template or a plugin to just add it. i will add the products using a component that automatically makes products out of pictures u just put them in some folders and BAM! u have the products. i cant make 3-4 child products for every item.

i tried to use a form extension to add it as a sidebar module but i dont know how to get that form to change the price when i choose something. do you have any idea how to do that? point me to some direction at list?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: freshwebservices on June 19, 2012, 17:06:57 pm
Hi,
I'm having a frustrating issue getting this plugin to work. This is probably my lack of understanding . Here's what I'm trying to do:
1) Apply the same set of options to various products
2) Depending upon the option selected the price should be +/-

So, I've created a custom field of type: Plugin - VMCustom - Dropbox
Set it to be Cart Attribute
Set the options to be: General Waste,Soil and Bricks|-5,Soil Only| -5,Bricks Only| -10, Metal| -25,Cardboard| -25

When I save it the options are not saved  :(

So, within my product I add the custom field & enter the option values there:

These then appear on the front end, but selecting one of them does not update the price.

Any suggestions what I might be doing wrong?

Thanks & much appreciated,

Eddie

J! 2.5.4
VM 2.0.6
Php 5.2.16

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 19, 2012, 18:53:37 pm
Hi,
I'm having a frustrating issue getting this plugin to work. This is probably my lack of understanding . Here's what I'm trying to do:
1) Apply the same set of options to various products
2) Depending upon the option selected the price should be +/-

So, I've created a custom field of type: Plugin - VMCustom - Dropbox
Set it to be Cart Attribute
Set the options to be: General Waste,Soil and Bricks|-5,Soil Only| -5,Bricks Only| -10, Metal| -25,Cardboard| -25

When I save it the options are not saved  :(

So, within my product I add the custom field & enter the option values there:

These then appear on the front end, but selecting one of them does not update the price.

Any suggestions what I might be doing wrong?

Thanks & much appreciated,

Eddie

J! 2.5.4
VM 2.0.6
Php 5.2.16

The "template" will not save the +20   etc.

It stopped doing that a while back.

It5 will only save

red,Greeen,Yellow

If you want to do the same attributes with variations in price.

Create an empty one,


copy and past into the product
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: ERNIK on June 20, 2012, 00:41:43 am
Hi BanquetTables.pro,

As you may already know, your custom field plug-in is awesome but something broke it. 

I don't know if it was J2.5.5 or VM2.0.6 but the item chosen from the custom drop down list just doesn't show up in the cart.  I installed your plug-in today without problems and works as per your instructions except for that detail on the shopping cart.

Is there a possible solution to this?  I hope so, please update us. 

Thanks,

ERNIK

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: freshwebservices on June 20, 2012, 10:11:27 am
Hi BanquetTables.pro,
Thanks for your prompt response - much appreciated.

I have also tried to cut n paste into an empty one at the product level. While this show up on the front end, it does not alter the product price.

As you can see from the screenshots, the "Licence" field has 2 values: "Off Road, On Road|+35"
On the front end, the Licence field is there, with the 2 options, but selecting "On Road" does not alter the price.

There are two errors that that are output. The first is output to screen:
Code: [Select]
Notice: Undefined property: stdClass::$virtuemart_customfield_id in /Applications/MAMP/htdocs/bakers-live/plugins/vmcustom/drop/drop.php on line 61
The second can be seen via XHR firebug console:
Code: [Select]
<b>Notice</b>:  Undefined index:  10 in <b>/Applications/MAMP/htdocs/bakers-live/administrator/components/com_virtuemart/plugins/vmcustomplugin.php</b> on line <b>223</b><br />
<br />
<b>Notice</b>:  Undefined index:  11 in <b>/Applications/MAMP/htdocs/bakers-live/administrator/components/com_virtuemart/plugins/vmcustomplugin.php</b> on line <b>223</b><br />
<br />
<b>Notice</b>:  Undefined index:  12 in <b>/Applications/MAMP/htdocs/bakers-live/administrator/components/com_virtuemart/plugins/vmcustomplugin.php</b> on line <b>223</b><br />
{"basePrice":"\u00a390.00","basePriceVariant":"\u00a390.00","basePriceWithTax":"","discountedPriceWithoutTax":"","priceBeforeTax":"\u00a390.00","salesPrice":"\u00a390.00","taxAmount":"","salesPriceWithDiscount":"","salesPriceTemp":"\u00a390.00","discountAmount":"","priceWithoutTax":"\u00a390.00","variantModification":"","DBTax":"\u00a390.00","Tax":"\u00a390.00","DATax":"\u00a390.00"}

I'm not sure if any of these are significant!

Any help is much appreciated.

Regards,

J! 2.5.4
VM 2.0.6
PHP 5.2.16

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: ERNIK on June 20, 2012, 21:59:52 pm
Tried it. That new version of customfields.php did not allow any custom field to be added to the product.  (VM 2.0.6 installed and J! 2.5.5).
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 20, 2012, 22:35:02 pm
Hi BanquetTables.pro,
Thanks for your prompt response - much appreciated.

I have also tried to cut n paste into an empty one at the product level. While this show up on the front end, it does not alter the product price.

As you can see from the screenshots, the "Licence" field has 2 values: "Off Road, On Road|+35"
On the front end, the Licence field is there, with the 2 options, but selecting "On Road" does not alter the price.

There are two errors that that are output. The first is output to screen:
Code: [Select]
Notice: Undefined property: stdClass::$virtuemart_customfield_id in /Applications/MAMP/htdocs/bakers-live/plugins/vmcustom/drop/drop.php on line 61
The second can be seen via XHR firebug console:
Code: [Select]
<b>Notice</b>:  Undefined index:  10 in <b>/Applications/MAMP/htdocs/bakers-live/administrator/components/com_virtuemart/plugins/vmcustomplugin.php</b> on line <b>223</b><br />
<br />
<b>Notice</b>:  Undefined index:  11 in <b>/Applications/MAMP/htdocs/bakers-live/administrator/components/com_virtuemart/plugins/vmcustomplugin.php</b> on line <b>223</b><br />
<br />
<b>Notice</b>:  Undefined index:  12 in <b>/Applications/MAMP/htdocs/bakers-live/administrator/components/com_virtuemart/plugins/vmcustomplugin.php</b> on line <b>223</b><br />
{"basePrice":"\u00a390.00","basePriceVariant":"\u00a390.00","basePriceWithTax":"","discountedPriceWithoutTax":"","priceBeforeTax":"\u00a390.00","salesPrice":"\u00a390.00","taxAmount":"","salesPriceWithDiscount":"","salesPriceTemp":"\u00a390.00","discountAmount":"","priceWithoutTax":"\u00a390.00","variantModification":"","DBTax":"\u00a390.00","Tax":"\u00a390.00","DATax":"\u00a390.00"}

I'm not sure if any of these are significant!

Any help is much appreciated.

Regards,

J! 2.5.4
VM 2.0.6
PHP 5.2.16


First backup your file.

THEN,

download the customfields.php
https://dev.virtuemart.net/svn/virtuemart/trunk/virtuemart/administrator/components/com_virtuemart/models/

JUST right click, ad save as php

and try the newest version.


I have no idea why it does not work,
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 20, 2012, 22:37:02 pm
Tried it. That new version of customfields.php did not allow any custom field to be added to the product.  (VM 2.0.6 installed and J! 2.5.5).

I was not talking to you with that post

Hi BanquetTables.pro,

As you may already know, your custom field plug-in is awesome but something broke it. 

I don't know if it was J2.5.5 or VM2.0.6 but the item chosen from the custom drop down list just doesn't show up in the cart.  I installed your plug-in today without problems and works as per your instructions except for that detail on the shopping cart.

Is there a possible solution to this?  I hope so, please update us. 

Thanks,

ERNIK




ALSO:::::I am using J2.5.5 + Vmart 2.07

 
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: EricaS0328 on June 21, 2012, 04:52:01 am
Ok, my web developer kinda up & left me so I am stuck trying to figure out some of these things on my own now. I am using VM 2.0.6 with Joomla 1.5.20... I am stuck because I need to be able to add variables to almost every product I sell and every variable changes the price. I miss VM 1.0 dearly ((Sigh)). My website is www.nolafooddelivery.com if you want to have a look at the mess VM 2.0 left me in..

Where do I get this plug-in & can you tell me in lesser being terms how to install it, please?

Erica

P.S..
Any other helpful articles/information you think I need I would appreciate that too :)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: freshwebservices on June 21, 2012, 10:42:20 am
Hi BanquetTables.pro,
Thanks for your earlier assistance. I overwrote the file as suggested but no progress I'm afraid.

I've also tried a different template but w/o success. So I've turned on debugging & here's what it reports:

With regard to this error/warning:

Code: [Select]
Notice: Undefined index: 10 in /Applications/MAMP/htdocs/bakers-live/administrator/components/com_virtuemart/plugins/vmcustomplugin.php on line 223

I add a debug statement to this file:
administrator/components/com_virtuemart/plugins/vmcustomplugin.php
Code: [Select]
/**
    * Calculate the variant price by The plugin
    * override calculateModificators() in calculatorh.
    * Eg. recalculate price by a quantity set in the plugin
    * You must reimplement modifyPrice() in your plugin
    * or price is returned defaut custom_price
    */
    // public function plgVmCalculatePluginVariant( $product, $field,$selected,$row){
    public function getCustomVariant($product, &$productCustomsPrice,$selected){
if ($productCustomsPrice->custom_element !==$this->_name) return false;
                vmdebug('$product', &$productCustomsPrice,$selected); //ECM 21/6/2012
vmPlugin::declarePluginParams('vmcustom',$productCustomsPrice->custom_element,$productCustomsPrice->custom_jplugin_id,$productCustomsPrice);
// VmTable::bindParameterable($productCustomsPrice,'custom_params',$this->_varsToPushParam);

$pluginFields = JRequest::getVar('customPlugin',null );
if ($pluginFields ==  null) $pluginFields = json_decode( $product->customPlugin, true);

return $pluginFields[$productCustomsPrice->virtuemart_custom_id][$this->_name] ;//line 223

    }

The debug ouptput is as follows:
Code: [Select]
vmdebug $product Var1:

stdClass Object
(
    [virtuemart_custom_id] => 10
    [custom_parent_id] => 9
    [virtuemart_vendor_id] => 1
    [custom_jplugin_id] => 10031
    [custom_element] => drop
    [admin_only] => 0
    [custom_title] => Waste Type
    [custom_tip] => Please select the type of waste to be put in the skip
    [custom_value] => waste
    [custom_field_desc] =>
    [field_type] => E
    [is_list] => 0
    [is_hidden] => 0
    [is_cart_attribute] => 1
    [layout_pos] =>
    [custom_params] => custom_drop="General Waste,Soil and Bricks|-5,Soil Only| -5,Bricks Only| -10, Metal| -25,Cardboard| -25"|custom_drop_name="Waste Type"|
    [shared] => 0
    [published] => 0
    [created_on] => 2012-06-21 08:20:03
    [created_by] => 68
    [ordering] => 0
    [modified_on] => 2012-06-21 08:20:03
    [modified_by] => 68
    [locked_on] => 0000-00-00 00:00:00
    [locked_by] => 0
    [virtuemart_customfield_id] => 43
    [virtuemart_product_id] => 6
    [custom_price] =>
    [custom_param] => {"custom_drop_name":"Waste Type","custom_drop":"General Waste,Soil and Bricks|-5,Soil Only|-5,Bricks Only|-10, Metal|-25,Cardboard|-25"}
)

Array
(
)

Var2: 43

As you can see, [custom_price] is empty. So, altho' the option 'Cardboard|-25' has been selected, its not populating or being picked up.

Any suggestions where to go next would  be much appreciated.
Thanks for your time,
Eddie
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: hollowGod on June 24, 2012, 09:55:04 am
Hi BanquetTables.pro,

is it possible to get the plugin to warn you or not let you add product to cart before you have changed value in the dropbox?
i.e. if I have the values : --Select--,XXL,XL,L,M .. it would promt the customer to change size if they click add to cart without selecting size first..

How is the default value supposed to work ? I set it to L, but in my product page I still see --Select-- as first value. I tried with XXL,XL,L,M but same result.

Thanks for a great plugin.

regards,

hollowGod
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 24, 2012, 17:10:33 pm
Hi BanquetTables.pro,

is it possible to get the plugin to warn you or not let you add product to cart before you have changed value in the dropbox?
i.e. if I have the values : --Select--,XXL,XL,L,M .. it would promt the customer to change size if they click add to cart without selecting size first..

How is the default value supposed to work ? I set it to L, but in my product page I still see --Select-- as first value. I tried with XXL,XL,L,M but same result.

Thanks for a great plugin.

regards,

hollowGod

as for the check to see if one is selected, the plugin would have to be modified to to a javascript check. I dont know java

"
How is the default value supposed to work ? I set it to L, but in my product page I still see --Select-- as first value. I tried with XXL,XL,L,M but same result."

I dont understand this
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: hollowGod on June 24, 2012, 22:02:19 pm
thanks for the answer , well I don't know Java either :)

Quote
I dont understand this

In the plugin settings , you have options like cart attribute, description then default.
I thought it was to let the dropbox choose a default value , so I put it to "L" , but it was still XXL in my product page.


hollowGod
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 25, 2012, 13:27:05 pm
thanks for the answer , well I don't know Java either :)

Quote
I dont understand this

In the plugin settings , you have options like cart attribute, description then default.
I thought it was to let the dropbox choose a default value , so I put it to "L" , but it was still XXL in my product page.


hollowGod


the default would go WAY down in the bottom box
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: ERNIK on June 25, 2012, 17:51:15 pm
Tried it. That new version of customfields.php did not allow any custom field to be added to the product.  (VM 2.0.6 installed and J! 2.5.5).

I was not talking to you with that post

Hi BanquetTables.pro,

As you may already know, your custom field plug-in is awesome but something broke it. 

I don't know if it was J2.5.5 or VM2.0.6 but the item chosen from the custom drop down list just doesn't show up in the cart.  I installed your plug-in today without problems and works as per your instructions except for that detail on the shopping cart.

Is there a possible solution to this?  I hope so, please update us. 

Thanks,

ERNIK




ALSO:::::I am using J2.5.5 + Vmart 2.07

What do you mean? Is it working fine with 2.0.7?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on June 26, 2012, 11:41:50 am
Tried it. That new version of customfields.php did not allow any custom field to be added to the product.  (VM 2.0.6 installed and J! 2.5.5).

I was not talking to you with that post

Hi BanquetTables.pro,

As you may already know, your custom field plug-in is awesome but something broke it. 

I don't know if it was J2.5.5 or VM2.0.6 but the item chosen from the custom drop down list just doesn't show up in the cart.  I installed your plug-in today without problems and works as per your instructions except for that detail on the shopping cart.

Is there a possible solution to this?  I hope so, please update us. 

Thanks,

ERNIK




ALSO:::::I am using J2.5.5 + Vmart 2.07

What do you mean? Is it working fine with 2.0.7?


I mean it has never stopped working for me
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: cino_power on June 26, 2012, 15:15:25 pm
Hi!

First of all, thanks for the plugin. I was looking for something like that for day.

Just one question. How can I make that changing the option in the dropbox the picture of the product change too. I mean, in a T-shirt shop, I have a custom fields "Colors", with red, blue and green option. When a change de red to blue, how it can change the image of the T-shirt(a T-shirt in blue)?

I don't know if you can help me... Anyway, thank you!!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: dsrpmedia on June 26, 2012, 18:32:42 pm
I used the 'generic child variant' to get this behavior (showing variant specific images & descriptions when a variant is selected from the drop box)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Xeshly on June 26, 2012, 22:54:45 pm
And is it possible to effect that change color in the drop box, for example, green (main thumbnail) to pink (small thumbnail), changed main photo thumbnails Product Details View.
Thanks for the nice add-on.
(http://i50.tinypic.com/qrhuae.jpg)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: cino_power on June 27, 2012, 12:48:40 pm
Thank you for the answer!!

@dsrpmedia: but then, you need a child for every color of the T-shirt(in my example)... but it can be usefull for others products. Anyway, I don't know how to do that. Can you explain, plaese?

@Xeshly: Can you explain how to do the thumbnail change? Thank you!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Xeshly on June 28, 2012, 09:04:10 am
Sory I use google translator.
It would be a question whether it is possible to achieve this effect with the change of thumbnails when you choose a color.

Link to the demo Virtuemart with these thumbnails: http://demo.virtuemart.net/index.php?page=shop.product_details&flypage=flypage_default.tpl&product_id=20&category_id=11&option=com_virtuemart&Itemid=6 (http://demo.virtuemart.net/index.php?page=shop.product_details&flypage=flypage_default.tpl&product_id=20&category_id=11&option=com_virtuemart&Itemid=6)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: neveryonas on July 02, 2012, 22:03:44 pm
Is there a way to be able to do a multiple select for this dropbox? Where would I go to add the multiple to the select?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: ERNIK on July 03, 2012, 20:25:16 pm
Tried it. That new version of customfields.php did not allow any custom field to be added to the product.  (VM 2.0.6 installed and J! 2.5.5).

I was not talking to you with that post

Hi BanquetTables.pro,

As you may already know, your custom field plug-in is awesome but something broke it. 

I don't know if it was J2.5.5 or VM2.0.6 but the item chosen from the custom drop down list just doesn't show up in the cart.  I installed your plug-in today without problems and works as per your instructions except for that detail on the shopping cart.

Is there a possible solution to this?  I hope so, please update us. 

Thanks,

ERNIK




ALSO:::::I am using J2.5.5 + Vmart 2.07

What do you mean? Is it working fine with 2.0.7?


I mean it has never stopped working for me

Finally works for me, using J! 2.5.6 and VM 2.0.8a
Thanks again for this great plug-in!.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lbmessick on July 08, 2012, 07:14:16 am
I have installed the plugin successfully I believe.  I can add attributes and choose them when selecting products.  However I get an error when updating SQL and the attribute selection does not show up in cart only the titles.  Any ideas??  I am using Joomla 2.5 and virtuemart 2.0.x  Thanks.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on July 08, 2012, 22:25:17 pm
I have installed the plugin successfully I believe.  I can add attributes and choose them when selecting products.  However I get an error when updating SQL and the attribute selection does not show up in cart only the titles.  Any ideas??  I am using Joomla 2.5 and virtuemart 2.0.x  Thanks.

what version of 2.0?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lbmessick on July 09, 2012, 04:13:11 am
VM version 2.0.6.   Any ideas??
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: woogygun on July 09, 2012, 12:51:13 pm
Hi Guys

Im having trouble getting this plugin to work.

Im on Joomla 2.5.6 and virtuemart 2.0.6

The drop down appears as it should. When you choose a variant and add it to the cart it just shows the plugin name in the cart and not the option that was selected.

link here: 41.134.149.34/~hourcard

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on July 09, 2012, 19:21:22 pm
Hi Guys

Im having trouble getting this plugin to work.

Im on Joomla 2.5.6 and virtuemart 2.0.6

The drop down appears as it should. When you choose a variant and add it to the cart it just shows the plugin name in the cart and not the option that was selected.

link here: 41.134.149.34/~hourcard


VM version 2.0.6.   Any ideas??


There was a vmart version that had problems with it, I think you need to upgrade to the latest.


BACKUP BEFORE you upgrade
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: muldeer on July 09, 2012, 22:55:52 pm
Solved problem by upgrade from 2.06 to  vm 2.08c
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: lbmessick on July 10, 2012, 21:00:38 pm
I upgraded to VM version 2.0.8 but still cannot see the chosen attributes in the cart.  Would a jquery conflict prevent this??  Thanks.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on July 11, 2012, 13:39:33 pm
I upgraded to VM version 2.0.8 but still cannot see the chosen attributes in the cart.  Would a jquery conflict prevent this??  Thanks.

no


Title: Re: Product Options Custom Field Dropbox Plugin
Post by: rvbgnu on July 12, 2012, 11:49:56 am
Hi BanquetTables.pro,

Thank you for your work on this plugin (and in general for VM!).
I am struggling having custom field displayed in a multi-lingual shop. I have tried a lot of solutions, but at no avail yet. Using language override for custom fields (name and value) is working in front end (cart display, checkout, order history, ...) EXCEPT in the product detail page, the most important one for the customer.

Will it work with your plugin?
If not, do you know where/how the drop down list is built?
I really want to tackle this issue, so if you have nay hints, pointers, and/or if we can work together, let me know, please.

Kind regards.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on July 12, 2012, 12:58:11 pm
Hi BanquetTables.pro,

Thank you for your work on this plugin (and in general for VM!).
I am struggling having custom field displayed in a multi-lingual shop. I have tried a lot of solutions, but at no avail yet. Using language override for custom fields (name and value) is working in front end (cart display, checkout, order history, ...) EXCEPT in the product detail page, the most important one for the customer.

Will it work with your plugin?
If not, do you know where/how the drop down list is built?
I really want to tackle this issue, so if you have nay hints, pointers, and/or if we can work together, let me know, please.

Kind regards.

I dont know if this will work,


and do you men where the dropdown is built in MY plugin?

if so, yes

drop.php

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: edcv on July 12, 2012, 13:41:11 pm
If I add something to the cart and then go to some other page than the virtuemart site this error shows up:
Fatal error: Class 'VmTable' not found in htdocs/administrator/components/com_virtuemart/plugins/vmcustomplugin.php on line 92



I also get the following warning:
Warning: unserialize() [function.unserialize]: Function spl_autoload_call() hasn't defined the class it was called for in htdocs/components/com_virtuemart/helpers/cart.php on line 91

Any idea for a solution?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on July 12, 2012, 14:52:03 pm


Any idea for a solution?

you should always turn off error reporting on live sites,

Joomla and vmart have THOUSANDS of files, and there are always errors,

i dont know if thats the solution, you want, but will make the error go away
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: edcv on July 12, 2012, 15:30:52 pm
you should always turn off error reporting on live sites,

Joomla and vmart have THOUSANDS of files, and there are always errors,

i dont know if thats the solution, you want, but will make the error go away

That is true the Warning will for sure go away. But the fatal error will probably not :)
Fatal error: Class 'VmTable' not found in htdocs/administrator/components/com_virtuemart/plugins/vmcustomplugin.php on line 92
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: edcv on July 12, 2012, 15:49:21 pm
you should always turn off error reporting on live sites,

Joomla and vmart have THOUSANDS of files, and there are always errors,

i dont know if thats the solution, you want, but will make the error go away

That is true the Warning will for sure go away. But the fatal error will probably not :)
Fatal error: Class 'VmTable' not found in htdocs/administrator/components/com_virtuemart/plugins/vmcustomplugin.php on line 92

Ok I think I have found the "error". I was upgrading and I did not delete the custom field from the virtuemart.
So after deleting the custom field and then creating it again everything seems to work fine.
Thanks BanquetTables.pro and I really appreciate your input in this forum, it has been very helpfull ( also in multiple other posts :)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: GuiXR on July 17, 2012, 23:42:50 pm
Does this also work for changing the images of the product when they select a different color from the drop down?

So that when they select, BLACK, the product image gets swapped from the original to BLACK, or RED, etc..

Thanks!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on July 18, 2012, 12:57:43 pm
Does this also work for changing the images of the product when they select a different color from the drop down?

So that when they select, BLACK, the product image gets swapped from the original to BLACK, or RED, etc..

Thanks!

no,

I think you need to do child products for that
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: rvbgnu on July 18, 2012, 18:28:08 pm
Hi BanquetTables.pro,

Thank you for your work on this plugin (and in general for VM!).
I am struggling having custom field displayed in a multi-lingual shop. I have tried a lot of solutions, but at no avail yet. Using language override for custom fields (name and value) is working in front end (cart display, checkout, order history, ...) EXCEPT in the product detail page, the most important one for the customer.

Will it work with your plugin?
If not, do you know where/how the drop down list is built?
I really want to tackle this issue, so if you have nay hints, pointers, and/or if we can work together, let me know, please.

Kind regards.

I dont know if this will work,


and do you men where the dropdown is built in MY plugin?

if so, yes

drop.php



I was struggling with the Jtext method and the JHtml:select.genericlist, but nearly get it work with language constants instead of regular values (for example JYES, wich is "Yes" in the English language file, "Oui" in the French one, etc...)

That means that one can input as option list:
SIZE_BABY_06,SIZE_BABY_12,SIZE_BABY_18,SIZE_BABY_24
and put the corresponding value in the language override (Language Manager > Override > select installed languages)  8)

From drop.php, I just added two JText call:
- line 100:
Code: [Select]
$html  .= '<span>'.JText::_($myparams->custom_drop_name).' ';- line 105:
Code: [Select]
$html .=$separator.JText::_($item['custom_drop']).'</span>';
The last thing is to make it work with price variant, and I am sure you will find it quickly:
How to isolate only the beginning of the string, before the price modifier (|+5) after line 51?
This part will need another JText, and that's it!

Hope we can find it soon  ;)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: rvbgnu on July 31, 2012, 01:09:21 am
Hi BanquetTables.pro,

How can we sort the dropbox plugin when there are two or more? Actually I use up to three dropbox plugin in my products' custom fields, but I cannot figure out how to have them in the same order. Sometimes on "Save" VM2 reverses the order (the last one added become the first one displayed), and sometimes not... I would like a way to display them always in the same order (for example: colour, size, gift wrap). Any hints?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on July 31, 2012, 12:31:35 pm
Hi BanquetTables.pro,

How can we sort the dropbox plugin when there are two or more? Actually I use up to three dropbox plugin in my products' custom fields, but I cannot figure out how to have them in the same order. Sometimes on "Save" VM2 reverses the order (the last one added become the first one displayed), and sometimes not... I would like a way to display them always in the same order (for example: colour, size, gift wrap). Any hints?


I think you might be able to "group" them,

Otherwise, i think they are displayed by the actual customfield ID
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: rvbgnu on July 31, 2012, 12:58:36 pm
Grouping, that's using a parent custom field. Just tried now, with no changes. I again entered values in the "ordering" column, for these "grouped" custom fields, same thing...
So a work around would be to have the custom fields ID in this order, so... the one annoying me should come last (gift wrapping), but is present on all products  :-[ But if I need another custom field later, the last created will come last in the layout, and here we go again... At least I have a quick fix now, thank you BanquetTables.pro ! (I still don't know your given name)

Any idea on how sorting them in the view, so template override would work? Or hacking the helper file?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: sleepigrl on August 08, 2012, 15:29:04 pm
I posted my solution for customfield ordering here:  http://forum.virtuemart.net/index.php?topic=90362.msg354017#msg354017 
It requires a core hack, but seems to be a permanent fix for output of custom fields by the user-entered order.


On to my question -

BanquetTables, is it possible to define one of the values in the list as the default-default?  For example, I have a list of years as a custom field.  I would like to include years going back to 2004, but I would prefer for 2013 to be the default that is shown when no year is selected.


Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on August 08, 2012, 15:48:12 pm
I posted my solution for customfield ordering here:  http://forum.virtuemart.net/index.php?topic=90362.msg354017#msg354017 
It requires a core hack, but seems to be a permanent fix for output of custom fields by the user-entered order.


On to my question -

BanquetTables, is it possible to define one of the values in the list as the default-default?  For example, I have a list of years as a custom field.  I would like to include years going back to 2004, but I would prefer for 2013 to be the default that is shown when no year is selected.




1st 1 is default
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: sleepigrl on August 08, 2012, 15:54:03 pm
Yep, I noticed that the first one would be the default. 

I was hoping there might be a way to have a different item be the default.  In Custom Attributes Extended for VM 1, you could indicate a default in the middle of the list by using an asterisk next to the item.  I just wanted to check to be sure I wasn't missing something similar here. 

Thanks :)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: apabiona on August 09, 2012, 03:25:26 am
Hi, can anyone help me format the custom field display on PayPal checkout?

Currently it is showing this:           
            Stripe
            Item number: L011001{"8":{"drop…L011001{"8":{"drop":{"custom_drop":" Blue"}}}
            Item price: $9.99
            Quantity: 1

I would like the Item number to display as: L011001 - Blue

Would very much appreciate help.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on August 09, 2012, 03:29:20 am
What version of vmart r u using?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: apabiona on August 09, 2012, 03:48:02 am
I am using VM 2.0.8e
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: andersen on August 09, 2012, 07:04:16 am
Hi,

loving Product Options Custom Field Dropbox Plugin! one issue is that it may be breaking the modal window.

anyone any ideas? pullin hair...lol

~~~~~~~~~~ISSUE~~~~~~~~~~~
- we have added custom attributes;
  1) in the product itself
  2) and by hacking VM core to add 2 attribute types
   (MY_NEW_CUSTOM_FIELD_FOR_CHECKBOX)
- for some reason the attributes are blocking the modal functionality on the "add to cart" click
* the modal works otherwise, so we deduce is caused by either attributes we've added to the VM product page OR from the hack we did to provide a checkbox attribute


~~~~~~~~~~PAGES~~~~~~~~~~~
See here for product page and modal NOT WORKING
http://kargoforwarder.com/balikbayanshipping/luzon-2-balikbayan-shipping/zambales

to see example of modal WORKING go here
http://kargoforwarder.com/mindanao


~~~~~~~~ENVIRONMENT~~~~~~~
- Website- Joomla 1.5.26, Virtuemart 2.0.8e

- Webserver
cPanel Version 11.32.3 (build 23)
Apache version 2.2.22
PHP version 5.3.14
MySQL version 5.1.63-cll
Architecture x86_64
Operating system linux

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on August 09, 2012, 16:34:57 pm
its NOT breaking the modal. There is NO JS added.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: andersen on August 09, 2012, 18:03:10 pm
How can i remedy that? mucho appreciate Sir!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on August 09, 2012, 21:01:23 pm
try and remove the "" from the custom field

22" x 22"

Change to 22 x 22
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: andersen on August 09, 2012, 21:17:35 pm
no go. i'm thinking it is either the field size, preventing overlay OR the custom fields i added...any other ideas? can i pay you for consulting? serious i want this fixed yesterday! {8~]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on August 09, 2012, 21:42:34 pm
the regular product is not adding for me now.

I think you might have an HTACCESS problem.

WHAT SEF component are you using? The product urls are supposed to have a "suffix"

 
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: andersen on August 09, 2012, 21:56:07 pm
good point.

- i edited my own .htaccess for added security..(will message you)
- using Artio SEF and can add suffix to URL

FYI....you have access to backend! (will message you)

thanks
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: andersen on August 09, 2012, 22:41:24 pm
jQuery.event.special.hover is undefined
[Break On This Error] jQuery.event.special.hover.delay = 100;
rizal (line 96)
missing ] after element list
[Break On This Error] '/templates/lepos/head.png'
rizal (line 125)
GET http://kargoforwarder.com/index.php?option=com_v...irtuemart%26virtuemart_product_id%255B%255D%3D37
   
200 OK
      712ms   
jquery.min.js (line 18)
ParamsHeadersResponseHTML

FYI is the space in attribute? ((&18))

this is what i found...

<br />
<b>Warning</b>:  Illegal offset type in isset or empty in <b>/home/gokargo/public_html/components/com_virtuemart/router.php</b> on line <b>130</b><br />
<script>document.location.href='http://kargoforwarder.com/balikbayanshipping/Array/-detail/recalculate?nosef=1&format=json&drop[custom_drop]=22x22In&drop[custom_drop]=Monday&drop[custom_drop]=7am10am&18=128&1[27]=127&2[28]=125&quantity[0]=1';</script>
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on August 09, 2012, 23:54:46 pm
<b>Warning</b>:  Illegal offset type in isset or empty in <b>/home/gokargo/public_html/components/com_virtuemart/router.php</b> on line <b>130</b><br />
<script>document.location.href='http://kargoforwarder.com/balikbayanshipping/Array/-detail/recalculate?nosef=1&format=json&drop[custom_drop]=22x22In&drop[custom_drop]=Monday&drop[custom_drop]=7am10am&18=128&1[27]=127&2[28]=125&quantity[0]=1';</script>


^^^ if you notice the url is being re-written

nosef=1      is supposed to be NO SEF.

IT will not work with this url.


Why use a sef component?


Vmart works well without.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Fintan on August 10, 2012, 09:24:31 am
Is there any way to make this multiple choice, like with the ctrl key, or show as a check list? I activated show as list in the custom field config. but it still shows as a drop down with only one choice.

Thanks for any help and your big effort.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on August 10, 2012, 10:36:10 am
no
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Fintan on August 10, 2012, 16:39:18 pm
Too bad. Would you know of a plugin that does this?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: andersen on August 10, 2012, 19:01:09 pm
this might be helpful http://network.convergenceservices.in/forum/46-virtue-mart/1238-steps-for-adding-attributes--custom-fields-in-virtue-mart-20--to-products.html

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: andersen on August 10, 2012, 19:03:08 pm
<b>Warning</b>:  Illegal offset type in isset or empty in <b>/home/gokargo/public_html/components/com_virtuemart/router.php</b> on line <b>130</b><br />
<script>document.location.href='http://kargoforwarder.com/balikbayanshipping/Array/-detail/recalculate?nosef=1&format=json&drop[custom_drop]=22x22In&drop[custom_drop]=Monday&drop[custom_drop]=7am10am&18=128&1[27]=127&2[28]=125&quantity[0]=1';</script>

So i can actually get traffic and make money. without SEO allot less traffic and success overall. i dont want to site back and look at a website, it;s a business tool!  thanks


^^^ if you notice the url is being re-written

nosef=1      is supposed to be NO SEF.

IT will not work with this url.


Why use a sef component?


Vmart works well without.


Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on August 10, 2012, 19:10:53 pm


So i can actually get traffic and make money. without SEO allot less traffic and success overall. i dont want to site back and look at a website, it;s a business tool!  thanks



I mean why use a 3rd party SEF component.

native joomla SEF works will with virtuemart 2.0
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: andersen on August 10, 2012, 19:28:29 pm
Several benefits; SEF URL's, automatic redirection, minutia such as that excellent suggestion you made about file suffix, etc! it's allot faster as well 8-)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Fintan on August 12, 2012, 08:34:16 am
Quote
this might be helpful http://network.convergenceservices.in/forum/46-virtue-mart/1238-steps-for-adding-attributes--custom-fields-in-virtue-mart-20--to-products.html

Thank you for that. I tried but was not successful. Have contacted Deepesh Chang and will see what transpires.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: techmodule on August 13, 2012, 04:27:37 am
updated
now fields are stored
Red,Blue|10,Yellow|-20,Purple

TO do an sql update
BACKUP FIRST
update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'+','|+')
update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'-','|-')


ALSO: With updated version
The custom field setup will not save with price variations.
Youhave to do that in the individual product.
BUT:
If you have
red,Blue,Green,Yellow    etc. You will be able to apply them with 1 click.

Plugin Features:
  • Apply A Template Of Options w/ 1 Click
  • Uses a Comma Separated List For Options
  • Price Variant
  • Also Accepts Negative Numbers for "minus"

http://www.kaizenmediaworks.com/virtuemart-2-0-custom-field-dropbox-plugin

Instructions:
Install The Plugin
Enable It
Go to custom fields.
Click "new"
Choose Plugins
The dropbox
Fill in the title.
Fill In the option template separated by Commas.
For example
Red,Blue,Green,Yellow
Go To a Product Custom Fields.
Choose the plugin.
You will see all the options there already. You can just hit save.

You can change the template, and the specific product options without changing the products that already have them assigned to them.

For Price Variant just add |+ or |- at the end.
DO NOT PLACE AT THE FRONT
For example
Small,Medium |+5, Large |+10

For negative Just use
Large,Medium |-5,Small |-10
Dear
How can i add the products image to the drop plugin
Example: i have the iphone products
1st option: black                  ---> image is ip4-black.jpg
2nd option: white                  ---> image is ip4-white.jpg
Thank you
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on August 13, 2012, 15:03:49 pm

Dear
How can i add the products image to the drop plugin
Example: i have the iphone products
1st option: black                  ---> image is ip4-black.jpg
2nd option: white                  ---> image is ip4-white.jpg
Thank you


This plugin will not do that.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: ben1390 on August 16, 2012, 12:23:35 pm
Hi,

Is it possible to make a field mandatory yet? I read earlier in this thread that it was something you were looking into and was wondering if there is an update on this yet?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on August 16, 2012, 16:04:38 pm
Hi,

Is it possible to make a field mandatory yet? I read earlier in this thread that it was something you were looking into and was wondering if there is an update on this yet?

No not possible yet
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: ben1390 on August 20, 2012, 12:19:01 pm
Hi,

Is it possible to make a field mandatory yet? I read earlier in this thread that it was something you were looking into and was wondering if there is an update on this yet?

No not possible yet

Is this something you could add in the near future please?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: wemblystiggs on August 23, 2012, 12:40:16 pm
Hi, have an issue with this, when I create a colour custom field using this, works great, shows on the product page, has all the information in I need etc, however, when I add to cart I just see the attribute title, and not the colour picked.

I am on Virtuemart 2.0.6 and cannot upgrade as it borks the template and the template company who installed it refuse to do anything about it...

Is there a work around or a fix that will enable the attribute to display correctly in cart?

Thanks

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on August 23, 2012, 14:07:55 pm
Hi, have an issue with this, when I create a colour custom field using this, works great, shows on the product page, has all the information in I need etc, however, when I add to cart I just see the attribute title, and not the colour picked.

I am on Virtuemart 2.0.6 and cannot upgrade as it borks the template and the template company who installed it refuse to do anything about it...

Is there a work around or a fix that will enable the attribute to display correctly in cart?

Thanks



only way I know is upgrading
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: wemblystiggs on August 23, 2012, 14:22:30 pm
Yeah, thought that would be the answer, I have however found a way with CSVI that is really easy... So if anyone is stuck on 2.0.6 like me then drop me a pm and I can let you know. Thanks for the quick response :)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Xeshly on September 02, 2012, 22:27:10 pm
Hi,
In the "Drop Box Selections seperated comma." may be entered in a maximum of 255 characters.
What can I do to be able to enter more characters in this field, for example, 500
(http://i49.tinypic.com/k1unaq.png)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: acuweb on September 12, 2012, 04:54:01 am
Hi Guys

Im having trouble getting this plugin to work.

Im on Joomla 2.5.6 and virtuemart 2.0.6

The drop down appears as it should. When you choose a variant and add it to the cart it just shows the plugin name in the cart and not the option that was selected.

link here: 41.134.149.34/~hourcard


VM version 2.0.6.   Any ideas??


There was a vmart version that had problems with it, I think you need to upgrade to the latest.


BACKUP BEFORE you upgrade

I had 2.0.6 and it didnt work, I updated to 2.0.10 and it works awesome now. Thanks for the awesome plugin Pro, you've helped a lot of people with this.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Ffragrances on September 13, 2012, 07:47:32 am
Thanks so much for this plugin. Believe me I get it. In VM 1.x, I used to just have a list and go directly to the MySQL and paste them in each product. That took some time, but it was quicker than having to do it all manually for each product. This is simple and very effective. I just migrated to VM 2 and was trying to figure out how to do it in MySQL, but was unable to find it as attributes no longer exist.

I sell candles. I only have about 16 different types and sizes, but I have nearly 100 scents.. Try doing all those manually!

Wonderful little plugin, and thank you for creating it. Excellent work.

Thanks again................. :)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: matore on September 13, 2012, 11:41:06 am
If you have a blank screen during installation of these plugins, uninstall Akeeba component and try again.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on September 13, 2012, 16:39:59 pm
If you have a blank screen during installation of these plugins, uninstall Akeeba component and try again.

no dont do that.

For J2.5
Just unzip, and FTP the files over, then use the "discover" feature
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: jthrongard on September 18, 2012, 22:16:36 pm
I'm sorry to bring back and old topic but I really need help with solving this problem.

You see my shop has a) MANY products and b) the price for this product variant custom field changes on a daily basis.

We want to use the Dropbox plugin to, on a weekly basis, enter in the new prices in ONE location only and then the plugin would show those new prices throughout each product that has the custom field enabled. 

Is there NO trick (even a hack) that can be done to make this work?
Hi,
I'm having a frustrating issue getting this plugin to work. This is probably my lack of understanding . Here's what I'm trying to do:
1) Apply the same set of options to various products
2) Depending upon the option selected the price should be +/-

So, I've created a custom field of type: Plugin - VMCustom - Dropbox
Set it to be Cart Attribute
Set the options to be: General Waste,Soil and Bricks|-5,Soil Only| -5,Bricks Only| -10, Metal| -25,Cardboard| -25

When I save it the options are not saved  :(

So, within my product I add the custom field & enter the option values there:

These then appear on the front end, but selecting one of them does not update the price.

Any suggestions what I might be doing wrong?

Thanks & much appreciated,

Eddie

J! 2.5.4
VM 2.0.6
Php 5.2.16

The "template" will not save the +20   etc.

It stopped doing that a while back.

It5 will only save

red,Greeen,Yellow

If you want to do the same attributes with variations in price.

Create an empty one,


copy and past into the product
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on September 18, 2012, 23:42:10 pm


Is there NO trick (even a hack) that can be done to make this work?


well,

This plugin isnt really designed like that.

a "trick", have you tried updating the values with CSV improved?

Or, doing it via sql?

The "right" way would be to create a "component", where you store the values of the template.

Then, in the plugin, you query the database for the values.

The component could be created easily using   http://www.notwebdesign.com/joomla-component-creator/

But the plugin would take some coding.


Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PolishedGeek on September 25, 2012, 08:10:32 am
@jthrongard - we have an idea of how to do this, and it will be in one place that you can update each day as you wish, and have it automatically flow through to the product pages. We would do this with an embedded Breezing Form in your product details that will also impact the price calculation.  I don't want to hijack this dropbox plugin thread with all the details of how that would work, so contact me and I'll provide more details.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: razor7 on October 01, 2012, 16:18:24 pm
Hi, can I use percentage values instead of fixed ones?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on October 01, 2012, 20:44:41 pm
Hi, can I use percentage values instead of fixed ones?

not standard out of the box
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PolishedGeek on October 01, 2012, 20:59:05 pm
You could do it with our method, with a Breezing Forms Custom Fields integration in VM2.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Andre72 on October 02, 2012, 22:24:41 pm
Hi,

at first many thanks for that great work.

One issue to drop.php - in plgVmOnDisplayProductVariantFE you check for $valueWithPrice[1] and if is set you get $price = substr($valueWithPrice[1], 1).
I had some problems with this as I not in any case use a operator so I changed it to:
Code: [Select]
$op = $valueWithPrice[1][0];
if ($op == '+' || $op == '-')
    $price = substr($valueWithPrice[1], 1) ;
else
{
    $op = '';
    $price = $valueWithPrice[1];
}

Than I like to ask you what license do you you publish the Dropbox?

Thanks

Andre
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on October 03, 2012, 11:55:07 am
Hi,

at first many thanks for that great work.

One issue to drop.php - in plgVmOnDisplayProductVariantFE you check for $valueWithPrice[1] and if is set you get $price = substr($valueWithPrice[1], 1).
I had some problems with this as I not in any case use a operator so I changed it to:
Code: [Select]
$op = $valueWithPrice[1][0];
if ($op == '+' || $op == '-')
    $price = substr($valueWithPrice[1], 1) ;
else
{
    $op = '';
    $price = $valueWithPrice[1];
}

Than I like to ask you what license do you you publish the Dropbox?

Thanks

Andre

License=GPL please extend
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: nico_ara on October 06, 2012, 21:00:25 pm
Hi,

I have already added the custom field to have color variations of the product, the issue that I have is that in the custom field page, where I have my custom field with the color variations, under "price" label, I cannot leave it blank, always shows 0 or 0.000 and in the front end of the webpage it will show as "price free" under the custom field that I created. What can I do to remove the "price free" or to leave blank that "price" label without it filling it back with 0 or 0.000?

Any help would be very appreciated!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: ERNIK on October 06, 2012, 21:11:38 pm
Hi,

I have already added the custom field to have color variations of the product, the issue that I have is that in the custom field page, where I have my custom field with the color variations, under "price" label, I cannot leave it blank, always shows 0 or 0.000 and in the front end of the webpage it will show as "price free" under the custom field that I created. What can I do to remove the "price free" or to leave blank that "price" label without it filling it back with 0 or 0.000?

Any help would be very appreciated!

This started happening when I upgraded the site to VM 2.0.12.  Is it a bug or does something need to be changed in the settings of the shop?  What is it?  Please help.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Andre72 on October 11, 2012, 19:53:53 pm
PRO,

please give me a hint in which function the default values of option will be stored to database ...
I try to expand and add '[' and ']' to the option string but in this case the default value is no more stored.

After debbuging two hours I feed up and hope you can help ...

Thanks

Andre
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on October 11, 2012, 21:50:18 pm
PRO,

please give me a hint in which function the default values of option will be stored to database ...
I try to expand and add '[' and ']' to the option string but in this case the default value is no more stored.

After debbuging two hours I feed up and hope you can help ...

Thanks

Andre


the default in the MAIN plugin?

that's generated into a string inside the plugin parameters.

BUT, I think you are talking about inside the product right?

function plgVmOnProductEdit


AND ALSO THIS at the top


   function __construct(& $subject, $config) {
      parent::__construct($subject, $config);

      $varsToPush = array(
      'custom_drop'=> array('', 'string'),
      'custom_drop_name'=> array('', 'string'),
      );

      $this->setConfigParameterable('custom_params',$varsToPush);
   }



keeps it as a string
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Andre72 on October 11, 2012, 21:55:51 pm
Thanks but I think you're right with main PlugIn.

I'll check it out, thanks

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on October 11, 2012, 21:59:34 pm
Thanks but I think you're right with main PlugIn.

I'll check it out, thanks

that's in the xml file

Title: How to enable debug Mode in Virtuemart 2 ?
Post by: shailja on November 23, 2012, 09:11:50 am
Hi,

Please help me in finding answer to my query.I am not getting any option to enable debug mode in Virtuemart 2.
 :(

Thanks
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: golfo on December 19, 2012, 22:17:07 pm
Saved so much time with this plug in. Thank you so much!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on December 19, 2012, 22:31:27 pm
Saved so much time with this plug in. Thank you so much!

you're welcome

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: prehn on January 02, 2013, 11:35:35 am
Hello!

I having a problem with the component VM Invoice when i use the plugin. When an invoice is genereted the lables of the drop-downs wont get translated. In the invoice it looks like this "custom_drop" brown and "custom_drop" 32 instead of Color: Brown and Size 32 as their names are.

Hope you could help me asap with this.

Thanks for som great plugins BTW.

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on January 02, 2013, 16:24:02 pm
Hello!

I having a problem with the component VM Invoice when i use the plugin. When an invoice is genereted the lables of the drop-downs wont get translated. In the invoice it looks like this "custom_drop" brown and "custom_drop" 32 instead of Color: Brown and Size 32 as their names are.

Hope you could help me asap with this.

Thanks for som great plugins BTW.




I do not know how to fix this, the invoice component developer should be able to fix it
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: prehn on January 03, 2013, 10:45:30 am
Hello!

I having a problem with the component VM Invoice when i use the plugin. When an invoice is genereted the lables of the drop-downs wont get translated. In the invoice it looks like this "custom_drop" brown and "custom_drop" 32 instead of Color: Brown and Size 32 as their names are.

Hope you could help me asap with this.

Thanks for som great plugins BTW.




I do not know how to fix this, the invoice component developer should be able to fix it

Ahh, ok, sorry to hear that. Artio who is the developer seems to refuse to answer how to fix this or they dont know how to fix this, cos they have ignored my question for almost 4 weeks, and i would really need to fix this.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: rvbgnu on January 04, 2013, 18:16:24 pm
Hi PRO,

I just saw a typo in the column Value > Custom Drop Box, the second field state: Drop Box Selections seperated by comma>
It should be "sepArated"  ;)

And thanks again for this great plugin!

Happy New Year!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on January 04, 2013, 19:19:26 pm
Hi PRO,

I just saw a typo in the column Value > Custom Drop Box, the second field state: Drop Box Selections seperated by comma>
It should be "sepArated"  ;)

And thanks again for this great plugin!

Happy New Year!


I never promised to spell correctly:D

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: rvbgnu on January 04, 2013, 19:35:59 pm
Nobodi spale correctly, especially French people like me (except alatak, and the beautiful people from Québec, of course ;)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: clabis71 on January 19, 2013, 15:45:54 pm
for my needs I have to remove the display of the prices from your plugin, how should I do?
I have already removed the display variants virtuemart, but remain see ones set in your plugin

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on January 19, 2013, 17:36:54 pm
for my needs I have to remove the display of the prices from your plugin, how should I do?
I have already removed the display variants virtuemart, but remain see ones set in your plugin

look in drop.php

OnDisplayproductFE   function

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: clabis71 on January 24, 2013, 14:25:33 pm
for my needs I have to remove the display of the prices from your plugin, how should I do?
I have already removed the display variants virtuemart, but remain see ones set in your plugin

look in drop.php

OnDisplayproductFE   function
d


are not very practical, in any case, I opened the file that is located in:
plugins/vmcustom/dropbox/drop.php
but the words that you say is different, I find this
function plgVmOnDisplayProductVariantFE($field,&$idx,&$group)
but I do not know exactly what to remove for not having problems, I can address?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on January 24, 2013, 16:26:11 pm
for my needs I have to remove the display of the prices from your plugin, how should I do?
I have already removed the display variants virtuemart, but remain see ones set in your plugin

look in drop.php

OnDisplayproductFE   function
d


are not very practical, in any case, I opened the file that is located in:
plugins/vmcustom/dropbox/drop.php
but the words that you say is different, I find this
function plgVmOnDisplayProductVariantFE($field,&$idx,&$group)
but I do not know exactly what to remove for not having problems, I can address?

I just tested this

change
$text = $valueWithPrice[0].' ('.$op.$currency->priceDisplay((float)$price).')';

to this
$text = $valueWithPrice[0];

and the price still changes, without the price in the dropdown.

PLEASE make sure you test test test
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: KieranMcClung on February 01, 2013, 17:26:58 pm
Hello there.

Firstly this plugin is great, it really simplfies having to add all the options to each product so many thanks for that. My question is a simple one, although the answer will undoubtedly be very complex, but I feel you may be the person who knows the answer.

Is there a way to change the position of this dropdown, when it's set as a Cart Attribute? Apologies if this has been asked earlier in the thread, I did scan through quickly but didn't notice anything mentioning this issue.

Thank you.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on February 01, 2013, 19:54:35 pm

Is there a way to change the position of this dropdown, when it's set as a Cart Attribute? Apologies if this has been asked earlier in the thread, I did scan through quickly but didn't notice anything mentioning this issue.

Thank you.

http://forum.virtuemart.net/index.php?topic=90935.0

If you look in the default_addtocart.php   You can change it a little.

BUT it will be relative to the add to cart button.
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: marcof on February 02, 2013, 01:07:16 am
I just installed the custom fields plugin on my 2.5.8 Joomla / VM 2.0.12 , and there is no 'plugin - dropbox' available??

Only Customer Text Imput, Product Specification and Stockable Variants...  How can I create a dropbox then???
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: marcof on February 02, 2013, 14:24:23 pm
Ah, ignore that last post please, had to enable it :D

Goodmorning!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: marcof on February 02, 2013, 14:51:55 pm
Hi,

I have already added the custom field to have color variations of the product, the issue that I have is that in the custom field page, where I have my custom field with the color variations, under "price" label, I cannot leave it blank, always shows 0 or 0.000 and in the front end of the webpage it will show as "price free" under the custom field that I created. What can I do to remove the "price free" or to leave blank that "price" label without it filling it back with 0 or 0.000?

Any help would be very appreciated!

I have the same problem. PRO can you tell me which line has to be disabled to prevent this from beeing displayed??
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on February 02, 2013, 17:51:07 pm
Hi,

I have already added the custom field to have color variations of the product, the issue that I have is that in the custom field page, where I have my custom field with the color variations, under "price" label, I cannot leave it blank, always shows 0 or 0.000 and in the front end of the webpage it will show as "price free" under the custom field that I created. What can I do to remove the "price free" or to leave blank that "price" label without it filling it back with 0 or 0.000?

Any help would be very appreciated!

I have the same problem. PRO can you tell me which line has to be disabled to prevent this from beeing displayed??

https://forum.virtuemart.net/index.php?topic=95618.msg314109#msg314109


I just leave the language field blank
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: marcof on February 02, 2013, 18:06:43 pm
Thnx for responding PRO, you mean the language field in the shop configuration? That does'nt make any difference over here :(

I added a screenshot of what I mean, the post you referred to looks like it has something to do with the price whitin the dropbox (or am I, as a dutchman, wrong because I dont understand..?)



[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on February 02, 2013, 18:13:40 pm
Thnx for responding PRO, you mean the language field in the shop configuration? That does'nt make any difference over here :(

no i mean the language "text"
http://forum.virtuemart.net/index.php?topic=92944.0
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: marcof on February 02, 2013, 18:35:29 pm
Yes, got it now! (that is really cool :))

Sorry, just starting to use VM2.0.x / Joomla 2.5.x a week ago, got some differences...

Only problem left: If I have 2 dropboxes in this article (see screenshot). Now, the second dropbox is positioned right next to the other, but no title is showing. In this case I created two of the same dropboxes (Maat en Maat), so I guess this happens because they get the same position.

But: I try to remove them (at the Article), but if I press Save I get a Server Error...! How can this happen??
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on February 02, 2013, 19:44:50 pm
Yes, got it now! (that is really cool :))

Sorry, just starting to use VM2.0.x / Joomla 2.5.x a week ago, got some differences...

Only problem left: If I have 2 dropboxes in this article (see screenshot). Now, the second dropbox is positioned right next to the other, but no title is showing. In this case I created two of the same dropboxes (Maat en Maat), so I guess this happens because they get the same position.

But: I try to remove them (at the Article), but if I press Save I get a Server Error...! How can this happen??

there is no screenshot
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: marcof on February 02, 2013, 20:11:09 pm
I meant the previous screenshot :)

This is the actual situation. Tried to remove one attribute but I get a 500 Server Error....

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: marcof on February 02, 2013, 21:30:38 pm
Solved it...problem was a hack in userfields.php, coming from another post. I could not delete or modify Products, it lead to a server error. The problem was a hack in userfields.php, coming from another post. I restored the original file and the problems were gone!  :) Thanks for the help so far!
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: HG on February 10, 2013, 23:13:26 pm
is it possible to get the old version because

+$5 for eg. was working fine for me i update to 2.0 impossible to add | in all items...
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on February 11, 2013, 12:46:17 pm
is it possible to get the old version because

+$5 for eg. was working fine for me i update to 2.0 impossible to add | in all items...



TO do an sql update
BACKUP FIRST
update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'+','|+')
update jos_virtuemart_product_customfields set custom_param=replace(custom_param,'-','|-')
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: HG on February 11, 2013, 18:12:39 pm
Thx it worked...

that means for future item I will need to add | manually?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on February 11, 2013, 19:54:18 pm
Thx it worked...

that means for future item I will need to add | manually?

yes

its not hard when you get in the habit

Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on February 11, 2013, 19:54:52 pm
Thx it worked...

that means for future item I will need to add | manually?

yes

its not hard when you get in the habit




^^^ its ONLY when you add price not for regular

red,green,blue   etc
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: Seltsian-Void on February 14, 2013, 12:53:11 pm
Thank You very much for this plugin. Works great
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: realistix on February 23, 2013, 12:38:34 pm
Hi Pro. I was just wondering if not being able to add prices into the template is intentional or if there is a coding obstacle that makes it tricky?
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: PRO on February 24, 2013, 18:26:59 pm
Hi Pro. I was just wondering if not being able to add prices into the template is intentional or if there is a coding obstacle that makes it tricky?


The way i coded it, it did allow it.

I got someone to re-write it for better security etc., and after that It did not allow it.

I am sure it is just some coding, but i have not looked into it
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on March 05, 2013, 14:32:01 pm
Updated with =   please test

(http://forum.virtuemart.net/index.php?action=dlattach;topic=99678.0;attach=53860;image)
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: syntalk on March 07, 2013, 22:54:05 pm
Hi,

It does look great.
Is it possible to make it as required so the customer MUST choose one of the options?

Many thanks for this.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on March 08, 2013, 12:27:44 pm
Hi,

It does look great.
Is it possible to make it as required so the customer MUST choose one of the options?

Many thanks for this.

its possible, but I do not have time to code it
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on March 15, 2013, 07:49:06 am
Hi, everything works fine except the price..

on the dropbox option it should be showing for example"

large (+ $5.00)

but on mine its still showing the html <strong> tag

large (+<strong> $5.00</strong>)

any idea how can i fix this without having the <strong> to be display on my site


[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on March 15, 2013, 11:22:18 am
are you posting "strong" in there? if so, that will not work
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on March 15, 2013, 17:35:09 pm
no i didn't.. you can see on the image i attached that i only put in the dropbox selection option is ( please select,6watts.8watts|+7 ) but its the vm plugin or the vm itself that is posting the <strong>,,,

heres a link to the site, so you can see.. http://turnonled.com.au/index.php/shop-online/54/7/mi-light/tol-mr16-8w-12leds-gu5-3-detail , i'll i did is set the drobox options and the <strong> just showed up on the website output..

any ideas?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on March 15, 2013, 18:27:16 pm
what happens when you disable template overrides?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on March 18, 2013, 03:46:59 am
Nothing, its still the same... i set the Category Layout and Product Layout to "no override" and its still the same output if set to "default". also tried setting the Select the default template for your Shop to "use joomla default" and also set it to my template, but still same out put,, i still have the <strong> showing up..
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on March 18, 2013, 11:27:42 am
This has all of a sudden stopped working! On the products page when I select an option the price changes to reflect the option so it's working there. Click add to cart and in the cart it displays the selected option but doesn't show the price variant or amended price, just the original price. This has been working fine for some time but has all of a sudden stopped working. I have tried stripping out scripts but that has made no difference. Would be very grateful for some help.

You can see it not working here http://www.mobilityproducts4u.org/chairs-and-sofas/massage-recliner-chairs/restwell-napoli-massage-recliner-chair-detail



Thanks
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on March 18, 2013, 13:59:49 pm
enable the modal pop up add to cart and check
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on March 18, 2013, 19:14:43 pm
Hi Pro,

modal popup says what it should say:

Continue ShoppingShow Cart
The product was added to your cart.
Restwell Napoli Massage Recliner Chair was added to your cart.

Cart still shows the addon but no price increase.

Thanks
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on March 18, 2013, 19:26:13 pm
whats your vm version>?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on March 18, 2013, 20:25:02 pm
We upgraded to 2.0.18a about 5 or 6 weeks ago. It has worked since then but seems to have stopped working in the last couple of weeks, not entirely sure when.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on March 18, 2013, 20:49:24 pm
Ok I think I might be going mad because I'm positive I tested this earlier but it does appear to be working on most products so just testing to try and spot a pattern.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on March 19, 2013, 16:51:34 pm
Hi PRO Global Moderator, Super Hero I hope you haven't ignored me.. About the <strong> tag showing on my drobox options, i already tried disabling template overrides, and strong is still there, also tried default Joomla template and same thing,, i still have the <strong> showing on my dropdown options..

I hope you can help me out with this,, http://turnonled.com.au/index.php/shop-online/53/7/mi-light/tol-downlight-mr16-12leds-gu10-detail,  could it be the Custom Field Dropbox Plugin that has the issue?? like what can i do or modify on the plugin to remove the <strong>? i don't even need to have it displayed bold, i jst want it to be displayed correctly with or without having it on bold..

Thanks in advance
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on March 19, 2013, 18:58:45 pm
have you looked in the actual product itself?

is it in the parameter?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on March 21, 2013, 05:07:14 am
its not on the product is self, since this is how i set the option with the additional $ amount if 2nd option is chosen..please see attch file

and the <strong> just showed up..

any idea? i can give u an access to the site if u want to look further..

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on March 21, 2013, 12:28:57 pm
There is NO STRONG  at all in the front end display code.


   function plgVmOnDisplayProductVariantFE($field,&$idx,&$group) {
      // default return if it's not this plugin
       if ($field->custom_element != $this->_name) return '';
      $this->parseCustomParams($field);
      $options = explode(',', $field->custom_drop);
      $class='';
      $selects= array();
      if(!class_exists('CurrencyDisplay')) require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'currencydisplay.php');
      $currency = CurrencyDisplay::getInstance();
      foreach ($options as $valuesWithPrice) {
         $valueWithPrice = explode('|', $valuesWithPrice);

         if ( isset ($valueWithPrice[1]) ) {
            $op = $valueWithPrice[1][0];
            $price = substr($valueWithPrice[1], 1) ;
            $text = $valueWithPrice[0].' ('.$op.$currency->priceDisplay((float)$price).')';
         } else {
            $text = $valueWithPrice[0] ;
         }
         $selects[] = array('value' =>$valueWithPrice[0], 'text' => $text );
      }
//       vmdebug('plgVmOnDisplayProductVariantFE',$field,$idx,$group);
      $html = JHTML::_('select.genericlist', $selects,'customPlugin['.$field->virtuemart_customfield_id.']['.$this->_name.'][custom_drop]','','value','text',$selects[0],false,true);
      $group->display .= $html;
      return true;
    }

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on March 21, 2013, 19:34:55 pm
hmmmm..  can you point me the dir where u got this codes? or can u suggest where i can start looking for this strong that is showing up on my dropbox option? http://turnonled.com.au/index.php/shop-online/53/7/mi-light/tol-downlight-mr16-12leds-gu10-detail

could it be on the language .ini files? i already downloaded the whole com_virtuemart folder, admin/comp/com_virtuemart folder also downloaded the vmcustom folder inside the plugin folder, but i still can't find this strong tag that is showing up.. i hope u can suggest where is the best place to look for this..

Thanks
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on March 22, 2013, 01:25:33 am
have you tested with a regular joomla template?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: Bodeha on March 25, 2013, 20:22:03 pm
Hi
I have problem:

i cant write more like 255 character on filed.

u use default or overdrive style but this is same problem.

VM2 2.20  J.2.59

Please help:)
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on March 25, 2013, 23:39:36 pm
http://forum.virtuemart.net/index.php?topic=112333.msg383449#msg383449


I thought I updated the file for download.
I will check it again, when I get back to work
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: Bodeha on March 26, 2013, 02:56:24 am
Thank you very much. its work:)

btw thx for your work and plug-in , its great:)

Best Regards from Poland;)
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on April 01, 2013, 20:23:17 pm
Okay,

I wasn't going mad, it just doesn't seem to apply to every product or all of the time. As it currently stands the drop box is not updatin gthe price or adding the extra to the cart on this product http://www.mobilityproducts4u.org/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=424

Any ideas why??

Thanks
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on April 01, 2013, 21:09:58 pm
Okay,

I wasn't going mad, it just doesn't seem to apply to every product or all of the time. As it currently stands the drop box is not updatin gthe price or adding the extra to the cart on this product http://www.mobilityproducts4u.org/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=424

Any ideas why??

Thanks

I guess first thing is to look in the actual product and see if its formatted correctly
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on April 02, 2013, 11:05:02 am
Well,this is the value in the dropbox selections field:

18 inches,19 inches|+25,22 inches|+50

That all correct?

I've noticed that the product price does dim for a moment when selecting a different option in the drop box so the "onchange" action is essentially working, just not applying the price change.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on April 02, 2013, 17:59:20 pm
Well,this is the value in the dropbox selections field:

18 inches,19 inches|+25,22 inches|+50

That all correct?

I've noticed that the product price does dim for a moment when selecting a different option in the drop box so the "onchange" action is essentially working, just not applying the price change.

are these child products?

I know some people have had problems using with child products
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on April 02, 2013, 18:06:24 pm
No, no child products on this site at all.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on April 02, 2013, 18:29:34 pm
No, no child products on this site at all.

show me 1 that works?

LOoks like it might be a java issue,
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on April 05, 2013, 11:40:00 am
Nope, I can't find a single one that works now. This is just bizarre.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on April 05, 2013, 13:50:16 pm
Nope, I can't find a single one that works now. This is just bizarre.

You have something conflicting

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on April 10, 2013, 12:41:44 pm
Hi Pro,

just to let you know the isue is resolved. There was another plugin which had a function by the same name which was obviously stopping it from working. Thanks so much for your help and for the fantastic plugin.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on April 10, 2013, 14:12:47 pm
Hi Pro,

just to let you know the isue is resolved. There was another plugin which had a function by the same name which was obviously stopping it from working. Thanks so much for your help and for the fantastic plugin.

which one?

and which function?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: swanson22 on April 16, 2013, 04:52:07 am
We downloaded and modified your plugin to act as a multiplier as well but can't seem to find the variable to make the plugin reference the the multipliers we put in instead of multiplying based on base price. Would you happen to know or be able to tell us the variable we need to enter or look for to change this so the plugin will multiply based off of our new multipliers vs. base price. Right now we have it multiplying based off of percents so we use *0.045, 1.275, 0.5 and so on in order to get the correct prices. Any help is much appreciated thanks.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on April 17, 2013, 15:55:59 pm
We downloaded and modified your plugin to act as a multiplier as well but can't seem to find the variable to make the plugin reference the the multipliers we put in instead of multiplying based on base price. Would you happen to know or be able to tell us the variable we need to enter or look for to change this so the plugin will multiply based off of our new multipliers vs. base price. Right now we have it multiplying based off of percents so we use *0.045, 1.275, 0.5 and so on in order to get the correct prices. Any help is much appreciated thanks.

is this what you need?
http://extensions.virtuemart.net/products/custom-size-detail



&&

here is the price function

   public function plgVmCalculateCustomVariant($product, &$productCustomsPrice,$selected){
      if ($productCustomsPrice->custom_element !==$this->_name) return ;
      $customVariant = $this->getCustomVariant($product, $productCustomsPrice,$selected);
      $this->parseCustomParams($productCustomsPrice);
      $productCustomsPrice->custom_price = 0 ;
      if ( isset ($customVariant['custom_drop'])) {
         $options = explode(',', $productCustomsPrice->custom_drop);
         foreach ($options as $valuesWithPrice) {
            $valueWithPrice = explode('|', $valuesWithPrice);

            if ( $customVariant['custom_drop'] == $valueWithPrice[0])  {
               if ( isset ($valueWithPrice[1]) ) {

                  $op = $valueWithPrice[1][0];
                  if ($op == '+') $productCustomsPrice->custom_price =(float) substr($valueWithPrice[1], 1);
                  // testing equals
                  else if ($op == '=') $productCustomsPrice->custom_price = -$product->product_price+(float) substr($valueWithPrice[1], 1);
                  // end test equals
                  else if ($op == '-') $productCustomsPrice->custom_price = -(float) substr($valueWithPrice[1], 1);
                  else $productCustomsPrice->custom_price =(float) $valueWithPrice[1] ;

               }
                  return ;
            }

         }
      }
//          return $field->custom_price;

   }



if you look here

// testing equals
                  else if ($op == '=') $productCustomsPrice->custom_price = -$product->product_price+(float) substr($valueWithPrice[1], 1);
                  // end test equals

You ca see how I subtract the product price & add the equals

So, you should be able to see how to do yours

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: swanson22 on April 19, 2013, 22:10:45 pm
We downloaded and modified your plugin to act as a multiplier as well but can't seem to find the variable to make the plugin reference the the multipliers we put in instead of multiplying based on base price. Would you happen to know or be able to tell us the variable we need to enter or look for to change this so the plugin will multiply based off of our new multipliers vs. base price. Right now we have it multiplying based off of percents so we use *0.045, 1.275, 0.5 and so on in order to get the correct prices. Any help is much appreciated thanks.

is this what you need?
http://extensions.virtuemart.net/products/custom-size-detail



&&

here is the price function

   public function plgVmCalculateCustomVariant($product, &$productCustomsPrice,$selected){
      if ($productCustomsPrice->custom_element !==$this->_name) return ;
      $customVariant = $this->getCustomVariant($product, $productCustomsPrice,$selected);
      $this->parseCustomParams($productCustomsPrice);
      $productCustomsPrice->custom_price = 0 ;
      if ( isset ($customVariant['custom_drop'])) {
         $options = explode(',', $productCustomsPrice->custom_drop);
         foreach ($options as $valuesWithPrice) {
            $valueWithPrice = explode('|', $valuesWithPrice);

            if ( $customVariant['custom_drop'] == $valueWithPrice[0])  {
               if ( isset ($valueWithPrice[1]) ) {

                  $op = $valueWithPrice[1][0];
                  if ($op == '+') $productCustomsPrice->custom_price =(float) substr($valueWithPrice[1], 1);
                  // testing equals
                  else if ($op == '=') $productCustomsPrice->custom_price = -$product->product_price+(float) substr($valueWithPrice[1], 1);
                  // end test equals
                  else if ($op == '-') $productCustomsPrice->custom_price = -(float) substr($valueWithPrice[1], 1);
                  else $productCustomsPrice->custom_price =(float) $valueWithPrice[1] ;

               }
                  return ;
            }

         }
      }
//          return $field->custom_price;

   }



if you look here

// testing equals
                  else if ($op == '=') $productCustomsPrice->custom_price = -$product->product_price+(float) substr($valueWithPrice[1], 1);
                  // end test equals

You ca see how I subtract the product price & add the equals

So, you should be able to see how to do yours

Thank you. We have figured out how to multiply that variable to the base price, however we want to multiply the variable to the updated price.  We have two product options. The first option multiplies the amount to the base price of the product. The 2nd product option SHOULD multiply to the UPDATED price - NOT the base price. For example:

500 Business Cards are $25.00
Drop down: Quantity  - multiplies based on selection (ex: 1000|*0.9,2000|*1.8,3000|*2.65,4000|*3.5,5000|*4.35)
Drop down: 2 Sided Printing - multiplies based on selection (ex: 1 sided,2 sided|*0.2)
So if the customer wanted 1000 business cards printed on both sides the math would be ==> 25.00 * 0.9 * 0.20
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on April 20, 2013, 03:17:16 am
sounds like you need it all in a single dropdown.

you just need to think it out
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: swanson22 on April 23, 2013, 19:35:32 pm
sounds like you need it all in a single dropdown.

you just need to think it out

We can not do a single drop down because there are too many other options. If you look at most printing websites they are built this way.

We are 99% done and your plugin worked perfectly, we just need the product custom field price variants to multiply the total cost not the base price each time.  Here is what we have:

$op = $valueWithPrice[1][0];
                  // addition
                  if ($op == '+') $productCustomsPrice->custom_price =(float) substr($valueWithPrice[1], 1);
                  // subtraction
                  else if ($op == '-') $productCustomsPrice->custom_price = -(float) substr($valueWithPrice[1], 1);
                  // multiplication
                  else if ($op == '*') $productCustomsPrice->custom_price = *(float) substr($valueWithPrice[1], 1);
                  // equals
                  else if ($op == '=') $productCustomsPrice->custom_price = -$product->product_price+(float) substr($valueWithPrice[1], 1);
                  else $productCustomsPrice->custom_price =(float) $valueWithPrice[1] ;

Instead of using $product->product_price - which just grabs the base price - we want to grab the updated price and multiply the new variable times that.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on April 23, 2013, 22:56:01 pm
sounds like you need it all in a single dropdown.

you just need to think it out

We can not do a single drop down because there are too many other options. If you look at most printing websites they are built this way.

We are 99% done and your plugin worked perfectly, we just need the product custom field price variants to multiply the total cost not the base price each time.  Here is what we have:

$op = $valueWithPrice[1][0];
                  // addition
                  if ($op == '+') $productCustomsPrice->custom_price =(float) substr($valueWithPrice[1], 1);
                  // subtraction
                  else if ($op == '-') $productCustomsPrice->custom_price = -(float) substr($valueWithPrice[1], 1);
                  // multiplication
                  else if ($op == '*') $productCustomsPrice->custom_price = *(float) substr($valueWithPrice[1], 1);
                  // equals
                  else if ($op == '=') $productCustomsPrice->custom_price = -$product->product_price+(float) substr($valueWithPrice[1], 1);
                  else $productCustomsPrice->custom_price =(float) $valueWithPrice[1] ;

Instead of using $product->product_price - which just grabs the base price - we want to grab the updated price and multiply the new variable times that.

test a few of these http://forum.virtuemart.net/index.php?topic=104194.0

Thats all I can tell you without having to do a lot of testing.


Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: swanson22 on April 29, 2013, 20:34:34 pm
We have 2 different plugins now which would be the drop down plugin and the quantity plugin. What we are wondering now is if there is a way to get the drop box plugin to work with the quantity plugin and can we get the price to change with the quantity plugin? If we can get it to work this way we are golden so we would like to know if this is a possibility. At this point we are willing to invest in plugin to get the results we require and move forward on this project. Both plugins are from the same site so we would just like to know if this is a possibility and how to go about this.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on April 30, 2013, 22:41:26 pm
We have 2 different plugins now which would be the drop down plugin and the quantity plugin. What we are wondering now is if there is a way to get the drop box plugin to work with the quantity plugin and can we get the price to change with the quantity plugin? If we can get it to work this way we are golden so we would like to know if this is a possibility. At this point we are willing to invest in plugin to get the results we require and move forward on this project. Both plugins are from the same site so we would just like to know if this is a possibility and how to go about this.

I do not know of a way to do this.

have you done anything with child products?>
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on May 08, 2013, 15:20:50 pm
I've been tweaking this plugin to maket he "Add to cart button" disappear unless an option is selected. I realise that this code will only work if there is only one drop box on the page. I'm 99% away from this working but cannot see why it isn't. Perhaps someone could cast their eye over this function? The problem appears to be with obtaining the selected value from the drop box but I'm just putting this together from researching javascript.

Code: [Select]
$html = JHTML::_('select.genericlist', $selects,'customPlugin['.$field->virtuemart_customfield_id.']['.$this->_name.'][custom_drop]','onchange="drop_change()"','value','text',$selects[0],false,true);

$html .= '<script type="text/javascript">';
$html .= 'document.getElementById("addtocart-button").style.visibility = "hidden";';
$html .= 'function drop_change() {';
$html .= 'var dropelements = document.getElementsByName("customPlugin['.$field->virtuemart_customfield_id.']['.$this->_name.'][custom_drop]");';
$html .= 'var chosenoption = dropelements.options[dropelements.selectedIndex].value; ';
$html .= 'if ( chosenoption == "" ){ document.getElementById("addtocart-button").style.visibility = "hidden" } else { document.getElementById("addtocart-button").style.visibility = "visible" }';
$html .= '}';
$html .= '</script>';
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 08, 2013, 19:33:35 pm
this code wont work until you modify it



<?php
$document = JFactory::getDocument();
$document->addScriptDeclaration("
   jQuery(document).ready(function($) {
   $('.cart-class').hide();
      $('.select-class').click(function () {
$('.cart-class').show();
});
   });
");
}
?>
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on May 08, 2013, 20:17:11 pm
this code wont work until you modify it



<?php
$document = JFactory::getDocument();
$document->addScriptDeclaration("
   jQuery(document).ready(function($) {
   $('.cart-class').hide();
      $('.select-class').click(function () {
$('.cart-class').show();
});
   });
");
}
?>

Hi Pro,

thanks for the reply. Where do I need to put that??

Thanks
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 08, 2013, 20:32:24 pm
first you need to moodify it to match your add to cart class & your dropbox class


then you can just put it anywhere in the drop.php

BUT remove the php opening & closing

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on May 08, 2013, 21:03:25 pm
Ok have done that but getting this error:

Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION

It says it's on line 145:


138       $group->display .= $html;
139
140      return true;
141
142   }
143
144
145 $document = JFactory::getDocument();
146 $document->addScriptDeclaration("
147  jQuery(document).ready(function($) {
148  $('.sun-addtocart-button').hide();
149      $('.dropselect').click(function () {
150 $('.sun-addtocart-button').show();
151 });
152  });
153 ");
154 }
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 08, 2013, 22:43:01 pm
 $document = JFactory::getDocument();
$document->addScriptDeclaration("
jQuery(document).ready(function($) {
 $('.sun-addtocart-button').hide();
$('.dropselect').click(function () {
$('.sun-addtocart-button').show();
   ");   
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: realistix on May 08, 2013, 23:27:10 pm
Thanks pro,

that modified code would throw an error unless it was within    function plgVmOnDisplayProductVariantFE($field,&$idx,&$group)

Now it doesn't throw an error but the add to cart button still doesn't appear when I select an option that has a value other than ""
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 09, 2013, 13:28:28 pm
I dont know, I have been trying it.

I cant even get the add to cart button to disappear.

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on May 12, 2013, 20:02:12 pm
Hi has anybody encountered a problem with the dropdown list showing the <strong> tag if a dropdown option has an additional price,,,

just so you know what i'm taking about you can see it here http://turnonled.com.au/index.php/shop-online/54/7/mi-light/tol-mr16-8w-12leds-gu5-3-detail just click the wattage dropdown and you'll see the <strong> tag that i mean,,, any ideas how can i fix this?????? i look on the drop.php and drop.xml and i couldn't find it there,,,


Thanks in advance
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 13, 2013, 10:51:54 am
Hi has anybody encountered a problem with the dropdown list showing the <strong> tag if a dropdown option has an additional price,,,

just so you know what i'm taking about you can see it here http://turnonled.com.au/index.php/shop-online/54/7/mi-light/tol-mr16-8w-12leds-gu5-3-detail just click the wattage dropdown and you'll see the <strong> tag that i mean,,, any ideas how can i fix this?????? i look on the drop.php and drop.xml and i couldn't find it there,,,


Thanks in advance


have you tried a regular joomla template?

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on May 13, 2013, 17:45:55 pm
Yep i just tried it on my local server with 3 default joomla template, atomic,beez_20 and beez5 and you can see on the attached files that its still showing the <strong>.. btw im using joomla3 with the latest version..

any ideas why im still having the <strong> showing up?

Thanks again

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: CROSP on May 13, 2013, 19:49:18 pm
Hi , thank u for hard work and great plugin. But  I have one problem . When I try to add price changing with the help |+ or |- and then press "Save" ,the field "Options" automaticly erases (gets empty).  Without price chanjing it works, but with - no. I have tried just to copy your example "Small,Medium |+5, Large |+10" , but got empty field too.
Mb , I do something wrong.
Thx for help in advance.
'
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 13, 2013, 23:06:53 pm
Hi , thank u for hard work and great plugin. But  I have one problem . When I try to add price changing with the help |+ or |- and then press "Save" ,the field "Options" automaticly erases (gets empty).  Without price chanjing it works, but with - no. I have tried just to copy your example "Small,Medium |+5, Large |+10" , but got empty field too.
Mb , I do something wrong.
Thx for help in advance.
'

are you on the product page?

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on May 14, 2013, 06:52:39 am
Hi MR.PRO

I hope you didn't ignored my previous post that i did try default joomla template and im using jm3 and i still have the <strong> showing up on the dropdown even with default joomla templates.. please don't ignore me
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 14, 2013, 10:10:10 am
Hi MR.PRO

I hope you didn't ignored my previous post that i did try default joomla template and im using jm3 and i still have the <strong> showing up on the dropdown even with default joomla templates.. please don't ignore me


do you have any language overrides?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: CROSP on May 14, 2013, 15:03:07 pm
Hi , thank u for hard work and great plugin. But  I have one problem . When I try to add price changing with the help |+ or |- and then press "Save" ,the field "Options" automaticly erases (gets empty).  Without price chanjing it works, but with - no. I have tried just to copy your example "Small,Medium |+5, Large |+10" , but got empty field too.
Mb , I do something wrong.
Thx for help in advance.
'

are you on the product page?




No , I am on "Custom Field" page.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 14, 2013, 18:39:26 pm
Hi , thank u for hard work and great plugin. But  I have one problem . When I try to add price changing with the help |+ or |- and then press "Save" ,the field "Options" automaticly erases (gets empty).  Without price chanjing it works, but with - no. I have tried just to copy your example "Small,Medium |+5, Large |+10" , but got empty field too.
Mb , I do something wrong.
Thx for help in advance.
'

are you on the product page?




No , I am on "Custom Field" page.


it will not save there anymore.

it used to
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on May 14, 2013, 20:33:26 pm
Hi MR.PRO

I hope you didn't ignored my previous post that i did try default joomla template and im using jm3 and i still have the <strong> showing up on the dropdown even with default joomla templates.. please don't ignore me


do you have any language overrides?

No i don't have any language overrides... can i fix it with an override? i tried to 'Search text you want to change" but i can't find it.. any other ideas whats the next step i need to do or check? Thanks for your patient
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 14, 2013, 22:52:27 pm
post your url to the product
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on May 15, 2013, 03:41:23 am
post your url to the product

http://turnonled.com.au/index.php/shop-online/54/7/mi-light/tol-mr16-8w-12leds-gu5-3-detail
Thanks
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 15, 2013, 17:07:31 pm
. btw im using joomla3 with the latest version..



vmart does not work with 3.0 yet
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on May 15, 2013, 18:35:07 pm
. btw im using joomla3 with the latest version..



vmart does not work with 3.0 yet

OMG thats why.. ugghhhh wish i knew this earlier had looked into the site http://www.kaizenmediaworks.com/virtuemart-2-0-custom-field-dropbox-plugin but it doesn't indicates there that it only support jm2.5v..

Thanks for the all the help, god bless you
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 15, 2013, 20:36:39 pm
. btw im using joomla3 with the latest version..



vmart does not work with 3.0 yet

OMG thats why.. ugghhhh wish i knew this earlier had looked into the site http://www.kaizenmediaworks.com/virtuemart-2-0-custom-field-dropbox-plugin but it doesn't indicates there that it only support jm2.5v..

Thanks for the all the help, god bless you

VIRTUEMART does NOT support 3.0 yet

http://forum.virtuemart.net/index.php?topic=115326.0
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ronjb on May 16, 2013, 10:47:09 am
. btw im using joomla3 with the latest version..



vmart does not work with 3.0 yet

OMG thats why.. ugghhhh wish i knew this earlier had looked into the site http://www.kaizenmediaworks.com/virtuemart-2-0-custom-field-dropbox-plugin but it doesn't indicates there that it only support jm2.5v..

Thanks for the all the help, god bless you

VIRTUEMART does NOT support 3.0 yet

http://forum.virtuemart.net/index.php?topic=115326.0

I just check and my bad, we're using "Joomla! version    2.5.8" i thought it was joomla3 cause we have a diff. interface on the administrator, didn't knew my client installed a mission control that changes the layout on the administrator,,, and yep i'm still having the strong on my custom field dropdown list...

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: CROSP on May 16, 2013, 18:29:07 pm
Hi , thank u for hard work and great plugin. But  I have one problem . When I try to add price changing with the help |+ or |- and then press "Save" ,the field "Options" automaticly erases (gets empty).  Without price chanjing it works, but with - no. I have tried just to copy your example "Small,Medium |+5, Large |+10" , but got empty field too.
Mb , I do something wrong.
Thx for help in advance.
'

are you on the product page?




No , I am on "Custom Field" page.


it will not save there anymore.

it used to
Sorry , I don't understand for what is it used ?
How can I solve my problem .
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 16, 2013, 18:40:55 pm
Hi , thank u for hard work and great plugin. But  I have one problem . When I try to add price changing with the help |+ or |- and then press "Save" ,the field "Options" automaticly erases (gets empty).  Without price chanjing it works, but with - no. I have tried just to copy your example "Small,Medium |+5, Large |+10" , but got empty field too.
Mb , I do something wrong.
Thx for help in advance.
'

are you on the product page?




No , I am on "Custom Field" page.


it will not save there anymore.

it used to
Sorry , I don't understand for what is it used ?
How can I solve my problem .

It will save ALL options as long as they do not have price variants in the "custom field"


IF you have to do price variants,

You have to go to the actual product. then, apply the custom field. Then paste the tect into the dropbox.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: CROSP on May 16, 2013, 21:41:55 pm
Ohh !! Thank U very much !!! It works GREAT !!!
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: bardossi on May 19, 2013, 15:17:33 pm
Dear PRO,

I would like to use your plugin in my printing related webshop, I would like to use it for setting up certain quantities and prices with '=':
For example:

Flyers
0 pcs - 0 $
100 pcs - 44 $
200 pcs - 28 $
etc.

The '=' works fine for me, I have got only one problem: I want my customers could buy only those quantities so if they select the quantity-price option from this custom field they should put this quantity into the cart when they click to the Addtocart button.

As I am not a coder I am asking you: is it realistic what I would like to create or should leave my idea and try something else? What I want is to have a quantity drop down with preset quantities and each quantity should have a unit price.

I really do appreciate your help, thank you.

 
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 19, 2013, 17:44:51 pm
Dear PRO,

I would like to use your plugin in my printing related webshop, I would like to use it for setting up certain quantities and prices with '=':
For example:

Flyers
0 pcs - 0 $
100 pcs - 44 $
200 pcs - 28 $
etc.

The '=' works fine for me, I have got only one problem: I want my customers could buy only those quantities so if they select the quantity-price option from this custom field they should put this quantity into the cart when they click to the Addtocart button.

As I am not a coder I am asking you: is it realistic what I would like to create or should leave my idea and try something else? What I want is to have a quantity drop down with preset quantities and each quantity should have a unit price.

I really do appreciate your help, thank you.

 

yea its doable.

you just have to hide the original quantity box

https://forum.virtuemart.net/index.php?topic=95926.0

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: bardossi on May 19, 2013, 21:41:11 pm
Thanks for your reply.
My quantity box is hidden but when I click to the Addtocart button, it put only 1 product into the cart.
I assume the problem that the value is set to 1 after the min_order_level condition. Do I have to look for some variable?

Here is the code:
Code: [Select]
<span class="quantity-box">
<input type="hidden" class="quantity-input js-recalculate" name="quantity[]" value="<?php if (isset($this->product->min_order_level) && (int)$this->product->min_order_level 0) {
echo $this->product->min_order_level;
} else {
echo '1';
?>
"/>
    </span>

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 19, 2013, 22:00:30 pm
Thanks for your reply.
My quantity box is hidden but when I click to the Addtocart button, it put only 1 product into the cart.
I assume the problem that the value is set to 1 after the min_order_level condition. Do I have to look for some variable?

Here is the code:
Code: [Select]
<span class="quantity-box">
<input type="hidden" class="quantity-input js-recalculate" name="quantity[]" value="<?php if (isset($this->product->min_order_level) && (int)$this->product->min_order_level 0) {
echo $this->product->min_order_level;
} else {
echo '1';
?>
"/>
    </span>



I thought you wanted to use the dropbox for the quantity?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: bardossi on May 20, 2013, 08:36:57 am
Yes, I want it to use for the quantity, sorry if I was confusing. Please find attached two screenshot, about using the dropbox plugin, one for frontend and the other is the backend. So my idea: the customer select the quantity where there is a price belonging to this quantity and when clicking to 'Add to cart' button, this quantity should be added to the cart.
As I read everything, the dropbox plugin should be used as a custom field (see attached the backend) but I do not know how should I handle the quantity, sorry, I may be on the wrong track.


[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 20, 2013, 15:58:46 pm
looks like its working?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: bardossi on May 20, 2013, 17:04:05 pm
Yes, it is working, I have not tried its every option, only "=", it does what it has to. But only '1' pcs is going to the cart.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on May 22, 2013, 15:57:47 pm
Yes, it is working, I have not tried its every option, only "=", it does what it has to. But only '1' pcs is going to the cart.


if you want it to actually change the REAL quantity its not going to
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: HG on June 02, 2013, 17:48:39 pm
one issue the content do not update automatically if it's changed from the custom field area...you have to manually go to the item, erase the field and then re-add it...

Its the plugin because if you update the name VM updates that automatically but the options added in dropbox will not......hope this can be fixed in the future..
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on June 02, 2013, 21:41:30 pm
one issue the content do not update automatically if it's changed from the custom field area...you have to manually go to the item, erase the field and then re-add it...

Its the plugin because if you update the name VM updates that automatically but the options added in dropbox will not......hope this can be fixed in the future..

this cannot be fixed without storing the data in a separate component

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: betterlead on June 04, 2013, 11:17:57 am
Hi. Am I stupid or what? I can't find any place to download this plugin. Where?

Help..? );
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on June 04, 2013, 15:09:13 pm
Hi. Am I stupid or what? I can't find any place to download this plugin. Where?

Help..? );


http://www.kaizenmediaworks.com/virtuemart-2-0-custom-field-dropbox-plugin


look at the link that says   "download url"
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: betterlead on June 04, 2013, 16:55:32 pm
Hi. Am I stupid or what? I can't find any place to download this plugin. Where?

Help..? );


http://www.kaizenmediaworks.com/virtuemart-2-0-custom-field-dropbox-plugin


look at the link that says   "download url"

Haha! How could I miss that! Probably working too much,,, Ehrm ???
Thanks!
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: jochenwe on June 05, 2013, 17:00:41 pm
Hi, greta plugin. Just one question.
I need two indipendent dropboxes in the same product page (men's sizes and women's sizes), giving the choice to select only one box. Do you have any idea how this is possible? Do I need two cart buttons? And if so how?
Thanks,
Jochen
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on June 05, 2013, 20:20:16 pm
Hi, greta plugin. Just one question.
I need two indipendent dropboxes in the same product page (men's sizes and women's sizes), giving the choice to select only one box. Do you have any idea how this is possible? Do I need two cart buttons? And if so how?
Thanks,
Jochen

souunds like you need to use child products
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: dramstead on June 14, 2013, 22:11:16 pm
One problem I am having with this plugin is with the price variant. When i select the attribute with an additional cost, the price is added correctly on the product details page. However, when i add it to the cart, it goes back to the original price and does not add the price variant to the cart on checkout.

I've read of this problem previously but haven't found a clear solution.

Virtuemart version 2.0.18a Joomla 2.5.6

Thanks.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on June 15, 2013, 01:22:47 am
One problem I am having with this plugin is with the price variant. When i select the attribute with an additional cost, the price is added correctly on the product details page. However, when i add it to the cart, it goes back to the original price and does not add the price variant to the cart on checkout.

I've read of this problem previously but haven't found a clear solution.

Virtuemart version 2.0.18a Joomla 2.5.6

Thanks.

are you using template overrides?

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: dramstead on June 15, 2013, 21:01:58 pm
One problem I am having with this plugin is with the price variant. When i select the attribute with an additional cost, the price is added correctly on the product details page. However, when i add it to the cart, it goes back to the original price and does not add the price variant to the cart on checkout.

I've read of this problem previously but haven't found a clear solution.

Virtuemart version 2.0.18a Joomla 2.5.6

Thanks.

are you using template overrides?

I just tested it with the default joomla templates and I still have the same problem so I don't think it is from template overrides.
Title: Dropbox Plugin - Tax included
Post by: frandevelop on June 16, 2013, 11:50:55 am
Is it possible to display prices including tax in dropdown?

I have configured to display Virtuemart taxes included, but in the case of the drop are shown without them and are after calc.

Thanks
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on June 16, 2013, 19:59:17 pm
One problem I am having with this plugin is with the price variant. When i select the attribute with an additional cost, the price is added correctly on the product details page. However, when i add it to the cart, it goes back to the original price and does not add the price variant to the cart on checkout.

I've read of this problem previously but haven't found a clear solution.

Virtuemart version 2.0.18a Joomla 2.5.6

Thanks.

are you using template overrides?

I just tested it with the default joomla templates and I still have the same problem so I don't think it is from template overrides.


I dont know anyone that has had this problem.

are you havoing add to cart problems other than this?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on June 16, 2013, 20:00:13 pm
Is it possible to display prices including tax in dropdown?

I have configured to display Virtuemart taxes included, but in the case of the drop are shown without them and are after calc.

Thanks

are you using  +  , or = price?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: dramstead on June 17, 2013, 19:33:52 pm
One problem I am having with this plugin is with the price variant. When i select the attribute with an additional cost, the price is added correctly on the product details page. However, when i add it to the cart, it goes back to the original price and does not add the price variant to the cart on checkout.

I've read of this problem previously but haven't found a clear solution.

Virtuemart version 2.0.18a Joomla 2.5.6

Thanks.

are you using template overrides?

I just tested it with the default joomla templates and I still have the same problem so I don't think it is from template overrides.


I dont know anyone that has had this problem.

are you havoing add to cart problems other than this?

No, no other add to cart problems that I have noticed.

However I have found a few products that do seem to work with the additional cost transferring to the cart properly.

Here is an example of a product that is not working:
http://shoplinegear.com/linegear/jupgrade/index.php/boots-a-foot-gear/boot-care-laces/white-s-boots-boot-laces-detail

Here is a product that is working (hard toe attribute is the one with additional cost):
http://shoplinegear.com/linegear/jupgrade/index.php/boots-a-foot-gear/white-s-boots/whites-boots-10-original-smoke-jumper-detail

Thanks
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on June 18, 2013, 02:39:44 am
Is it possible to display prices including tax in dropdown?

I have configured to display Virtuemart taxes included, but in the case of the drop are shown without them and are after calc.

Thanks

do you have it checked in your pricing configuration?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on June 18, 2013, 02:41:00 am
One problem I am having with this plugin is with the price variant. When i select the attribute with an additional cost, the price is added correctly on the product details page. However, when i add it to the cart, it goes back to the original price and does not add the price variant to the cart on checkout.

I've read of this problem previously but haven't found a clear solution.

Virtuemart version 2.0.18a Joomla 2.5.6

Thanks.

are you using template overrides?

I just tested it with the default joomla templates and I still have the same problem so I don't think it is from template overrides.


I dont know anyone that has had this problem.

are you havoing add to cart problems other than this?

No, no other add to cart problems that I have noticed.

However I have found a few products that do seem to work with the additional cost transferring to the cart properly.

Here is an example of a product that is not working:
http://shoplinegear.com/linegear/jupgrade/index.php/boots-a-foot-gear/boot-care-laces/white-s-boots-boot-laces-detail

Here is a product that is working (hard toe attribute is the one with additional cost):
http://shoplinegear.com/linegear/jupgrade/index.php/boots-a-foot-gear/white-s-boots/whites-boots-10-original-smoke-jumper-detail

Thanks

have you looked to make sure them syntax is correct in the comma separated values?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: dramstead on June 18, 2013, 21:18:39 pm
One problem I am having with this plugin is with the price variant. When i select the attribute with an additional cost, the price is added correctly on the product details page. However, when i add it to the cart, it goes back to the original price and does not add the price variant to the cart on checkout.

I've read of this problem previously but haven't found a clear solution.

Virtuemart version 2.0.18a Joomla 2.5.6

Thanks.

are you using template overrides?

I just tested it with the default joomla templates and I still have the same problem so I don't think it is from template overrides.


I dont know anyone that has had this problem.

are you havoing add to cart problems other than this?

No, no other add to cart problems that I have noticed.

However I have found a few products that do seem to work with the additional cost transferring to the cart properly.

Here is an example of a product that is not working:
http://shoplinegear.com/linegear/jupgrade/index.php/boots-a-foot-gear/boot-care-laces/white-s-boots-boot-laces-detail

Here is a product that is working (hard toe attribute is the one with additional cost):
http://shoplinegear.com/linegear/jupgrade/index.php/boots-a-foot-gear/white-s-boots/whites-boots-10-original-smoke-jumper-detail

Thanks

have you looked to make sure them syntax is correct in the comma separated values?

I checked and the syntax seems to be correct. And, because the price changes on the product details page something is going right. I've done some testing and narrowed down which dropdowns work with price variants. I don't know why this would be the case but i have noticed that the only cart variants that are adding to the cart properly are ones where the second option in the list has an additional cost. For example, (Size: select,Large |+20) will add correctly but (Size: select,Small,Medium,Large |+20) will not work. When the price variant is towards the end of a list it will not work. It seems strange and I don't know why this would be the case.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: frandevelop on June 18, 2013, 22:38:09 pm
Is it possible to display prices including tax in dropdown?

I have configured to display Virtuemart taxes included, but in the case of the drop are shown without them and are after calc.

Thanks

do you have it checked in your pricing configuration?

Yes, in all products show tax, only products with dropbox field show in dropdown without tax: http://www. el bruguer. com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=57&virtuemart_category_id=5&Itemid=148&lang=cat

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on June 18, 2013, 23:50:24 pm
Is it possible to display prices including tax in dropdown?

I have configured to display Virtuemart taxes included, but in the case of the drop are shown without them and are after calc.

Thanks

do you have it checked in your pricing configuration?

Yes, in all products show tax, only products with dropbox field show in dropdown without tax: http://www. el bruguer. com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=57&virtuemart_category_id=5&Itemid=148&lang=cat



Ok, I have looked at the code,
It is straight text in the field.
I can see if I can change it to convert the text to the sales price
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: dramstead on June 20, 2013, 23:13:21 pm
I just found that the bug seems to be related to specific characters in the syntax of the attributes. I had the additional cost in there correctly but the bug came with products that had (") in the attribute options. For example (waist size: 28",30",32" |+10) does not add the cost over to the cart. But products with out (") in the attributes worked properly so it seems that the quotation mark character causes a bug with this plugin. Is there any solution to this or will I just have to go through and take out all of the quotation marks in my drop downs?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: koper on June 26, 2013, 16:25:15 pm
Product option like 'gift wrapped'
I would like to present my customers the option to 'gift wrap' each product, there are extra costs which need to be added to the product. I prefer a yes/no setup.
I have found a way to do this using teh dropbox, but then I get in trouble with the tax.
The extra costs are including tax, but must be entered excluding in the plugin. This way it is very confusing for my clients.
Do you have a solution for this?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on June 26, 2013, 21:37:33 pm
Product option like 'gift wrapped'
I would like to present my customers the option to 'gift wrap' each product, there are extra costs which need to be added to the product. I prefer a yes/no setup.
I have found a way to do this using teh dropbox, but then I get in trouble with the tax.
The extra costs are including tax, but must be entered excluding in the plugin. This way it is very confusing for my clients.
Do you have a solution for this?

yes or no?

just use vmart native customfields, It will be much simpler to have the vat included when you want to
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: elfis on June 26, 2013, 21:44:22 pm
Hello

How to remove price from dropbox  ?(not in config but from front template)  (+100 , -100 , =100)
Thank you
(http://img585.imageshack.us/img585/703/dqd7.jpg)
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on June 28, 2013, 00:47:11 am
Hello

How to remove price from dropbox  ?(not in config but from front template)  (+100 , -100 , =100)
Thank you
(http://img585.imageshack.us/img585/703/dqd7.jpg)


open
plugins/vmcustom/drop/drop.php

change this
$text = $valueWithPrice[0].' ('.$op.$currency->priceDisplay((float)$price).')';

to this

$text = $valueWithPrice[0] ;

inside this function
function plgVmOnDisplayProductVariantFE

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: drukman2000 on July 07, 2013, 06:18:18 am
Hi Pro & all,

On page 6 of this post there is a problem dated back to 4/12 which I encountered today.

"when you add the same attributes multiple times it does not update the quantity but instead adds a second row".

Was it forgotten or it's too much to deal with ?

Thanks a lot - Drukman.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: drukman2000 on July 07, 2013, 07:18:24 am
I was determined to get this working and make my life easier getting this site up. I have hundreds and hundreds of products with the majority having the same same custom drop down boxes. BanquetTables.pro's plugin is the bomb!
First I went in Virtuemart in the custom fields tab and created the 5 dropdown boxes and 1 customer text input field using BanquetTables.pro's plugin the way it is explained here. It worked perfectly!
Created the csv file and just repeated the entry for each of the custom title fields. I have attached the csv file for reference and also an image of the results.

Hi Kristie,
Are you using the paid version of CSVI ?
Thanks - Drukman.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on July 07, 2013, 14:29:21 pm
Hi Pro & all,

On page 6 of this post there is a problem dated back to 4/12 which I encountered today.

"when you add the same attributes multiple times it does not update the quantity but instead adds a second row".

Was it forgotten or it's too much to deal with ?

Thanks a lot - Drukman.



this is a "core" problem. with plugins



Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: drukman2000 on July 07, 2013, 14:57:29 pm
Hi Pro & all,

On page 6 of this post there is a problem dated back to 4/12 which I encountered today.

"when you add the same attributes multiple times it does not update the quantity but instead adds a second row".

Was it forgotten or it's too much to deal with ?

Thanks a lot - Drukman.


this is a "core" problem. with plugins


You are 100% correct.
Just tested it with stockable (which is a plugin) and it happened again.
Isn't there a solution for this issue ? After all it's been around for 1.5 years.
Other options are Generic Child Variant which uses childs (no way !) and Cart variant that isn't using childs but has this ugly look of +5 +10 within the drop down.

Help !!! -))
Thanks - Drukman.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: Maxim Pishnyak on July 07, 2013, 15:36:08 pm
Other options are Generic Child Variant which uses childs (no way !) and Cart variant that isn't using childs but has this ugly look of +5 +10 within the drop down.
So you could use childs, but have problem to manage them. So - what is your problem with childs?
Also you could use cart variants without childs. I'm sure it's possible to correct that not perfect look with pluses.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: drukman2000 on July 07, 2013, 15:44:07 pm
Other options are Generic Child Variant which uses childs (no way !) and Cart variant that isn't using childs but has this ugly look of +5 +10 within the drop down.
So you could use childs, but have problem to manage them. So - what is your problem with childs?
Also you could use cart variants without childs. I'm sure it's possible to correct that not perfect look with pluses.
Drop keep things simple with as few products as possible.
Currently is either looking around for a plugin fix (and than going with Drop) OR looking around for a fix for the cart variant +5 +10 issue.
I prefer the 1st option buy my guess is that it's not an easy fix & that no own was able to fix it till now.
Hopefully I am wrong & someone will post a solution.
Thanks - Drukman.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: Maxim Pishnyak on July 07, 2013, 15:53:51 pm
Drop keep things simple with ... OR looking around for a fix for the cart variant +5 +10 issue.
Hopefully I am wrong & someone will post a solution.
What is more simple for you?
1. Start personal challenge with childs some when
OR
2. Search this forum to find hack for pluses issue?
As for the 2. choice
Hopefully I am not wrong & someone will ALREADY posted a solution on this great forum.
You know it's not simple to keep in one head all fixes which were created during last 2 years.
Regards.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: drukman2000 on July 08, 2013, 10:31:04 am
Drop keep things simple with ... OR looking around for a fix for the cart variant +5 +10 issue.
Hopefully I am wrong & someone will post a solution.
What is more simple for you?
1. Start personal challenge with childs some when
OR
2. Search this forum to find hack for pluses issue?
As for the 2. choice
Hopefully I am not wrong & someone will ALREADY posted a solution on this great forum.
You know it's not simple to keep in one head all fixes which were created during last 2 years.
Regards.
It looks like a dead end.
I will go with Drop (love it !) & hopefully a solution for this long (forgotten ?) problem will rise soon.
Thanks - Drukman.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: drukman2000 on July 14, 2013, 10:45:35 am
Hi,
I am using CSVI & it plays very well for ALL the product fields.
The only problem I face is with the dropbox fields which are not very common.
I am wondering if anyone had success with the next:

custom title is: A
The drop box selection seperated by coma should get the next value: s|=10,m|=20,b|=30

CSVI needs a tilda (~) between values so I tried: s|=10,~m|=20,~b|=30
Yet it is not working for me.
So if someone manage to make it work I would love to know how.

Thanks - Drukman.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on July 14, 2013, 13:51:45 pm
Hi,
I am using CSVI & it plays very well for ALL the product fields.
The only problem I face is with the dropbox fields which are not very common.
I am wondering if anyone had success with the next:

custom title is: A
The drop box selection seperated by coma should get the next value: s|=10,m|=20,b|=30

CSVI needs a tilda (~) between values so I tried: s|=10,~m|=20,~b|=30
Yet it is not working for me.
So if someone manage to make it work I would love to know how.

Thanks - Drukman.

a ~   is not going to be needed

IF you can get it to work with CSVI


The dropbox selections are a stored as a single custom field

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: drukman2000 on July 14, 2013, 14:08:04 pm
Thanks.
I already tried s|=10,m|=20,b|=30 & it didn't work.
The relevant piece of info is on the next page:
http://www.csvimproved.com/index.php?option=com_content&view=article&id=778:custom-fields-import-and-export&catid=181 (http://www.csvimproved.com/index.php?option=com_content&view=article&id=778:custom-fields-import-and-export&catid=181)
I am trying to import it with along many other product attributes so the relevany info starts from the second section "Using the Product import with custom fields".

Yet can you tell on that section which of the next 3 options is the correct one for this scenario of dropbox ?
1. "Custom fields with a single value"
2. "Custom fields with multiple values"
3. "Multiple custom values" (which is only supported on the pro version of csvi)

Thanks - Drukman.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on July 15, 2013, 00:28:53 am
it is a single value

the drop is stored as a single string

red,blue, green, etc

BUT! I have never got this to work.
It is possible, but I never have got it to work
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: drukman2000 on July 15, 2013, 04:29:58 am
it is a single value
the drop is stored as a single string
red,blue, green, etc
BUT! I have never got this to work.
It is possible, but I never have got it to work
1. You wrote "BUT! I have never got this to work"...... - do you mean that you already tried CSVI with dropbox & it failed ?
2. If you tried it, may I ask what CSVI attributes you used ?
3. Have you noticed that there is a special attribute by the name "custom_param" ?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on July 15, 2013, 17:31:25 pm
it is a single value
the drop is stored as a single string
red,blue, green, etc
BUT! I have never got this to work.
It is possible, but I never have got it to work
1. You wrote "BUT! I have never got this to work"...... - do you mean that you already tried CSVI with dropbox & it failed ?
2. If you tried it, may I ask what CSVI attributes you used ?
3. Have you noticed that there is a special attribute by the name "custom_param" ?

I have not tried that much.
I dont remember how I tried to do it.

when I converted my site to 2.0. I uploaded the spreadsheet straight to the database

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: Maxim Pishnyak on July 15, 2013, 21:33:05 pm
It's not clear from your posts, drukman2000, is ~ text or field separator in your case.

It's more easy to export ONE product with dropbox custom field used.
And use that file, as csv example, form import file for other products.

Regards.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: drukman2000 on July 16, 2013, 05:48:32 am
It's not clear from your posts, drukman2000, is ~ text or field separator in your case.
It's more easy to export ONE product with dropbox custom field used.
And use that file, as csv example, form import file for other products.
Regards.
Custom field is imported but the selections are always empty.
When exporting custom_param data is very long & makes no sense.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: Maxim Pishnyak on July 16, 2013, 12:00:31 pm
Custom field is imported but the selections are always empty. It's not clear what separators for texts and fields were used.
Don't get you.
When exporting custom_param data is very long & makes no sense.
If custom_param is that ones that could be really helpful in this, could you post here that nonsense?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: Maxim Pishnyak on July 16, 2013, 12:01:53 pm
Custom field is imported but the selections are always empty.
Don't get you. It's not clear what separators for texts and fields were used.
When exporting custom_param data is very long & makes no sense.
If custom_param is that ones that could be really helpful in this, could you post here that nonsense?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: strouve on July 17, 2013, 17:19:08 pm
hello, i use this great plugin, but i have a problem with it. when my customer choose a color t-shirt and order the product, the color option don't transmit to the final order and not to the email to!!! what can i do after, i can't know the color of t-shirt my customer choose !
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on July 18, 2013, 04:17:24 am
hello, i use this great plugin, but i have a problem with it. when my customer choose a color t-shirt and order the product, the color option don't transmit to the final order and not to the email to!!! what can i do after, i can't know the color of t-shirt my customer choose !

sounds like you have an old version of vmart or using outdated template overrides

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: aromasense on August 19, 2013, 01:54:18 am
At first this plugin looked like the perfect solution for me..... but the

I have multiple prices for my products 1 price available for all and 1 price only for wholesale.

Can I use the dropbox separately for these 2 options?

this is my list 10ml|=10.48,30ml|=26.22,50ml|=37.35,100ml|=60.87 which shows up for all no problem but it also shows up for my wholesale shopper group overriding the wholesale price.

Any idea how to work around this?

Thanks for yoru help!

cheers
Marco
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on August 19, 2013, 16:07:09 pm
At first this plugin looked like the perfect solution for me..... but the

I have multiple prices for my products 1 price available for all and 1 price only for wholesale.

Can I use the dropbox separately for these 2 options?

this is my list 10ml|=10.48,30ml|=26.22,50ml|=37.35,100ml|=60.87 which shows up for all no problem but it also shows up for my wholesale shopper group overriding the wholesale price.

Any idea how to work around this?

Thanks for yoru help!

cheers
Marco


no
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: aromasense on August 21, 2013, 21:42:47 pm
Alright thought so but worat.

Now I started another thread but I am not sure it is related to this plugin?

http://forum.virtuemart.net/index.php?topic=118127.0 (http://forum.virtuemart.net/index.php?topic=118127.0)
Title: Re: Product Options Custom Field Dropbox Plugin
Post by: ahmadjan on August 26, 2013, 19:27:45 pm
Hello Banquet,

maybe i'm posting in wrong place but this is just to notify you. I was watching one of your tutorial http://www.kaizenmediaworks.com/virtuemart-template-and-module-control

I want to display some modules in some particular vm category. But where to paste those codes? Also do i need to create a new module to assign them (something like metamod)?

Any explanation will be helpful.

Thanks.

YOU put this code in your template wherever you want the module to show, and it will create a position for each category.

<?php if (JRequest::getVar('view')=='category') { ?>
<div id="catmod"><jdoc:include type="modules" name="category<?php echo JRequest::getInt('virtuemart_category_id',0); ?>" /></div>
<?php } ?>

The position is
category###
### is whatever category id you are on.
So if you go to a category, and the category id is 25.
It creates a position called category25


THEN, you go into modules, and you can type in
category25   in the position field. THEN, it will show up on that page.


Hi Super Hero You are a Real hero!!! I posted two questions about this thing.. Now It solves everything.. Thanks alot....
Best Regards....
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on November 15, 2013, 18:21:05 pm
PRO

Firstly may I say what a great plugin!  A complete life saver!!

Please read to the end as I think offer a (significant IMHO) enhancement to the functionality

PRO may decide to adjust or implement such changes himself in the core 3d party plugin

Firstly let me explain my problem that this has helped (in part to resolve)

1. Store sells items by length/weight
2. Customers may want to purchase multiple different length/weights of the same item and have these "packed" or cut to spec

So, of course, the first thing I thought is to use the default QTY option

Customers want to buy 1 length of 8 feet, 1 length of 6 feet and 1 length of 3 feet AND have these items supplied cut to length, the default functionality fails to deliver

So this plugin appeared to give me what I wanted.  And wow! So easy

Option name = Length required feet
Option param = 1ft,2ft,3ft,4ft etc

Then just add the custom plugin to the product, OH NO

RTFM - you clearly state that :-


 
Quote
   ALSO: With updated version The custom field setup will not save with price variations. You have to do that in the individual product.


This could be done using sql or csvi but I wanted it to be more user friendly

I needed price modifiers to be stored by the plugin and retrieved when adding to the product.

The reason the prices are being "dumped" is the use of | as the price modifier delimiter

Solution to storing prices in the plugin

Change

Code: [Select]
$valueWithPrice = explode('|', $valuesWithPrice);
to

Code: [Select]
$valueWithPrice = explode('@', $valuesWithPrice);

Option param = 1ft,2ft@+20,3ft@+30,4ft@+40 etc

Price modfiers are now stored in admin and when the custom drop plugin is added to a product!

Next problem
We need the ability to make the dropdown price modifier a mutliplier
Each item sold by length has a different unit price and the length purchased is simply a multiple of the single unit price

Adding an dropdown option and an associated price as either, a value difference from the unit price or, a fixed value  does not work for our situation.

Solution to using a multiplier of the single unit price

Code: [Select]
public function plgVmCalculateCustomVariant($product, &$productCustomsPrice,$selected){
if ($productCustomsPrice->custom_element !==$this->_name) return ;
$customVariant = $this->getCustomVariant($product, $productCustomsPrice,$selected);
$this->parseCustomParams($productCustomsPrice);
$productCustomsPrice->custom_price = 0 ;
if ( isset ($customVariant['custom_drop'])) {
$options = explode(',', $productCustomsPrice->custom_drop);
foreach ($options as $valuesWithPrice) {
$valueWithPrice = explode('@', $valuesWithPrice);

if ( $customVariant['custom_drop'] == $valueWithPrice[0])  {
if ( isset ($valueWithPrice[1]) ) {

$op = $valueWithPrice[1][0];
                        switch ($op){
                            case "+":  $productCustomsPrice->custom_price =(float) substr($valueWithPrice[1], 1);
                                break;
                    case "=": $productCustomsPrice->custom_price = -$product->product_price+(float) substr($valueWithPrice[1], 1);
                                break;
                            case "-": $productCustomsPrice->custom_price = -(float) substr($valueWithPrice[1], 1);
                                break;
                            case "*": $productCustomsPrice->custom_price = - $product->product_price +($product->product_price*(substr($valueWithPrice[1], 1)));
                                break;
                            default: $productCustomsPrice->custom_price =(float) $valueWithPrice[1] ;
                            }
}
return ;
}

}
}




But the drop sees the multiplier as a currency value and display accordingly

So we need to strip the display of the currency value from the dropdown when it is a multiplier
Code: [Select]
function plgVmOnDisplayProductVariantFE($field,&$idx,&$group) {
// default return if it's not this plugin
if ($field->custom_element != $this->_name) return '';
$this->parseCustomParams($field);
$options = explode(',', $field->custom_drop);
$class='';
$selects= array();
if(!class_exists('CurrencyDisplay')) require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'currencydisplay.php');
$currency = CurrencyDisplay::getInstance();
foreach ($options as $valuesWithPrice) {
$valueWithPrice = explode('@', $valuesWithPrice);

if ( isset ($valueWithPrice[1]) ) {
$op = $valueWithPrice[1][0];
$price = substr($valueWithPrice[1], 1) ;
                $variant = substr($valueWithPrice[1], 0, 1) ;
if ($variant == "*") {
                    $text = $valueWithPrice[0] ;
                } else {
                    $text = $valueWithPrice[0].' ('.$op.$currency->priceDisplay((float)$price).')';
                }
} else {
$text = $valueWithPrice[0] ;
}
$selects[] = array('value' =>$valueWithPrice[0], 'text' => $text );
}
// vmdebug('plgVmOnDisplayProductVariantFE',$field,$idx,$group);
$html = JHTML::_('select.genericlist', $selects,'customPlugin['.$field->virtuemart_customfield_id.']['.$this->_name.'][custom_drop]','','value','text',$selects[0],false,true);
$group->display .= $html;
return true;
    }


So with a couple of tweaks the additional and changed functionality becomes something like this (below)

ALSO: With updated version
The custom field setup WILL save with price variations.
You can adjust this in an individual product.

Plugin Features:

    Apply A Template Of Options w/ 1 Click along with pricing adjustments
    Uses a Comma Separated List For Options
    Price Variant
    Also Accepts Negative Numbers for "minus"
    beta feature Equals and multiplier

Instructions:
Install The Plugin
Enable It
Go to custom fields.
Click "new"
Choose Plugins
The dropbox
Fill in the title.
Fill In the option template separated by Commas.
For example
Red,Blue,Green,Yellow
Red@+5,Blue@+7,Green@+3

Go To a Product Custom Fields.
Choose the plugin.
You will see all the options there already along with any price adjustments. You can just hit save.

You can change the template, and the specific product options without changing the products that already have them assigned to them.

For Price Variant just add @+ or @- at the end.
DO NOT PLACE AT THE FRONT
For example
Small,Medium @+5, Large @+10

For negative Just use
Large,Medium @-5,Small @-10

For Equals
Please Choose,Red@=100,Green@=200

For Mulitplier
1 feet,5 feet@*5,10 feet@*10


I have attached just the drop.php file all the other code remains as is.

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on November 16, 2013, 03:28:07 am
this can be done, but there are many people with the old params.

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on November 16, 2013, 13:21:11 pm
Pro

Yes I realised that many will still use the old params and that overwriting would cause an issue.  Maybe you should release it as a "new" option.

I have got the code updates all done if you want me to send it to you.  I need the new settings, so will be using myself.

I did not want to clone your code and post it as my own as I believe that you deserve the plaudits and I think that the new option of price multiplier along with the ability to set the pricing variants up and have them included when you add the option to a product, could make it even more friendly!

It would be good to see this plugin functionality included in core, as it makes non stockable variants so much easier to configure!

Maybe Milbo or Alatak will take this under their wing :-)
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: lindant on December 28, 2013, 19:47:35 pm
I'm having an issue; vmcustom dropbox is working fine in the product detail page, the price is being updated perfectly when a certain length and price of a product is selected.
But the price of the selected attribute doesn't show in VM cart module nor cart page although the attribute is showing.

Can anyone help me to fix this please?
I'm using:
J! 2.5.17
VM  2.0.24c
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on December 29, 2013, 01:45:49 am
price of attribute? or the final price is not wrong?

the +10 will not show, BUT the final price does show correct.

there are many display options for prices in vmart .  discounts, vats etc.
if your final price is wrong it could be because of some configuration
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: lindant on December 29, 2013, 09:03:39 am
I enabled/disabled options on the pricing configuration but nothing seems to get the final price displayed correctly in the cart module and the cart page.
attached is a screen shot of the pricing configuration page.

Please check the shop here http://galaxy5000.com/g5/shop/calibo-curly-detail (http://galaxy5000.com/g5/shop/calibo-curly-detail)

[attachment cleanup by admin]
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on December 29, 2013, 13:18:59 pm
have you tried without a template override?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: lindant on December 29, 2013, 14:09:34 pm
The override on the VM Templates configuration and on the Product Category layout configuration are all set to "No Override". i also tried to use the default layout and it didn't work.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on December 30, 2013, 11:38:59 am
The override on the VM Templates configuration and on the Product Category layout configuration are all set to "No Override". i also tried to use the default layout and it didn't work.

looks to be overriden by your template
this is a layout override
http://forum.virtuemart.net/index.php?topic=90935.0
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: lindant on December 31, 2013, 12:47:53 pm
I'm not sure i understood you, overriden by my template? but there is no folder in my template for virtuemart, there is no com_virtuemart folder located here (templates/yoo_drive/html)

I have only changed the button style (css) that's located in components/com_virtuemart and the scroller at the bottom is a module inserted into the description editor...

I read the topic you provided, created a com_virtuemart folder inside my template and copied all views folders, and changed the default template in the back-end configuration, for your Shop & category to my template default...

Still the same the cart final price isn't displaying correctly...
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on December 31, 2013, 13:46:19 pm
The plugin works and many are grateful for PRO's creation of it.

It appears that you are having issues with your specific setup.

If you have a yoo theme template then you are probably getting javascript problems or issues relating to that.

Set the Beez Joomla template for a test, then try the plugin and see it working.

Then determine what variances you have in your current setup that may cause you an issue and sort those out.

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: jenkinhill on December 31, 2013, 13:59:12 pm
I believe that in Yoothemes the override files are in a different directory.
eg  [TEMPLATEPATH]/layouts/com_virtuemart/
or  site_root/templates/<your_template>/warp/systems/joomla/layouts/
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on January 01, 2014, 12:31:23 pm
Thanks Jenkin and a Happy New Year!
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: Cr3ativ3 on January 03, 2014, 18:58:47 pm
Hi could anyone advise please?

J2.5.15
VM2.26a

I have installed and successfuly tested the VM Dropbox Plugin but i cannot seem to add price to any attributes. As soon as i use the vertical line "|" and hit save the Options table empties itself?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on January 04, 2014, 00:42:24 am
Hi could anyone advise please?

J2.5.15
VM2.26a

I have installed and successfuly tested the VM Dropbox Plugin but i cannot seem to add price to any attributes. As soon as i use the vertical line "|" and hit save the Options table empties itself?

do it in the product
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: Cr3ativ3 on January 04, 2014, 14:46:04 pm
HI thank you for your reply but i do not follow you?

In the plugin description you state you can add the avriables large,small, med (for example) then if you wish to add price you add large|=10,med|=15,small|=20 (for example)
If i add this into the field whereupon i add my attribute list as soon as i hit save the field empties itself and i cannot add the attribute?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on January 04, 2014, 16:25:28 pm
If you try and add a price in the existing version of the plugin when creating the Custom field the pricing is not saved

If you add the plugin to a product, THEN add the prices in the product instance of the plugin the prices are saved

I found doing it this way a real "ball ache"

So if you look at my post - Reply #494 - see if that works for your requirement
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: Cr3ativ3 on January 04, 2014, 17:31:55 pm
GOT YOU....bloody hell senior moment!
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on January 04, 2014, 17:41:06 pm
We all have them!   :o
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: Cr3ativ3 on January 04, 2014, 18:03:15 pm
Hutson your a legend....THAT was properly getting on my manboobs!
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on January 04, 2014, 19:21:56 pm
I tip my hat to PRO - he is the legend for creating this great free plugin.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: Cr3ativ3 on January 04, 2014, 19:23:22 pm
Sorry yes indeed, thank you PRO.....you are a great Leg end! ;)
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: amn on January 20, 2014, 02:11:06 am
Hello,
I'm sorry I want to use the plugin on my shop and I get following error wenn I want to include some test prices.

I fill the drop box with following insert out:   Black |+5,White |+2,Green |+15

and I will see on the shop following in the drop down menue:   Black (+5  White (+2    Green (+15

What I mean is that I'm missing the currency like € for me and the right parenthesis!!

May you can tell me how I can fix this problem.

Regards from Germany, Antonio
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on January 28, 2014, 11:52:13 am
Hello,
I'm sorry I want to use the plugin on my shop and I get following error wenn I want to include some test prices.

I fill the drop box with following insert out:   Black |+5,White |+2,Green |+15

and I will see on the shop following in the drop down menue:   Black (+5  White (+2    Green (+15

What I mean is that I'm missing the currency like € for me and the right parenthesis!!

May you can tell me how I can fix this problem.

Regards from Germany, Antonio


is default currency set?

Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: stresskills on February 26, 2014, 22:34:00 pm
Custom field is imported but the selections are always empty. It's not clear what separators for texts and fields were used.
Don't get you.
When exporting custom_param data is very long & makes no sense.
If custom_param is that ones that could be really helpful in this, could you post here that nonsense?
When I export from CSVI 5.16 custom_param is Empty (null)
I looked through the database and saw that drop stores product specific custom field data in table: virtuemart_product_customfields field: custom_param
but when I export custom_param from CSVI it's empty??
Any ideas?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on February 27, 2014, 00:18:21 am
Check with the CSVI team if the fields are in the DBase then it is probably their issue
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: stresskills on February 27, 2014, 01:05:51 am
Check with the CSVI team if the fields are in the DBase then it is probably their issue
Ok, Will do.

I'm so close but just can't seem to finish..

I have 4 different drop dropdowns set to equal price.

The only problem I have is that the price is calculated correctly for the first use of the plugin.
But then for each additional selection the plugin subtracts the original base value. (If I set the base value to =0 nothing works)

Example:

Product price= $1

Select list one:   [Title=1" material ] None Selected,Quantity 01|=20.00,Quantity 03|=50.00
Select list two:   [Title=2" material ] None Selected,Quantity 01|=20.00,Quantity 03|=50.00
Select list three: [Title=3" material ] None Selected,Quantity 01|=20.00,Quantity 03|=50.00

so lets say I select:
Select list one:   Quantity 01|=20.00
Select list two:   Quantity 01|=20.00
Total price would be= 39.00

so lets say I select:
Select list one:     Quantity 01|=20.00
Select list two:     Quantity 01|=20.00
Select list three:   Quantity 01|=20.00
Total price would be= 58.00

Sorry for my mega post and thank you for any ideas or advice.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: dsrpmedia on April 25, 2014, 22:45:44 pm
Hello

Awesome plugin, I am having 2 small (I hope) issues

1) when trying to use the price modifier in the custom fieds page 'options' field as soon as I save the options are removed. when i add the same syntax to the custom fields options on the product page it works, but I was rather hoping to not have to add the same code over & over to all applicable products - is there a way to add the price modifier to the actual custom field main page options so that it is loaded whenever that custom field is added to a product?

2) there seems to be a 'maximum character' limit set somewhere - about 1/2 way through the list the text just... stops - where would I go to remove this restriction?

thanks again for a great plugin
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on April 25, 2014, 22:55:05 pm
dsrpmedia

1) look at my post - Reply #494 - see if that works for your requirement
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: dsrpmedia on April 25, 2014, 23:13:10 pm
Hey Hudson - that was fast, thank you

I had just found you post and applied the solution - and it works as far as loading the preset options into the product specific options - (and also seemed to fix my problem with the text being cut off )

HOWEVER the price in the option no longer updates the product price (which was working before I changed the '|' to '@')

-------------------
lol there is a 2nd '|' which has to be changed to  '@' - it is working perfectly now!!!!
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on April 26, 2014, 14:41:56 pm
 8)

I see why you missed it :- huTson

LMAO
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: bboilard on May 04, 2014, 17:22:05 pm
plugin works GREAT Thank you. I am so disappointed in VM2 - a simple thing like this that EVERY SHOPCART has to have is so difficult.
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on November 30, 2014, 19:18:21 pm
Pro are you considering updating this plugin to support VM3??
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: doc_denis on December 02, 2014, 10:47:49 am
Yes, a version for VM3 would be great
...a french user
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: deejay115 on December 02, 2014, 20:44:00 pm
Hello,

thanks for this great plugin! It works funtastic! BUT - only on my localhost (xampp, php5.4) - Now i have a big big problem:

I uploades the site today on my webaccount, and then the decimals in the dropdown field are not showing! On the localhost everything was fine!

I read now the hole forum, but I didn´t find a solution.

You can have a look on it iher: http://pflanzenhof-toskanapark.de/index.php/laubgehoelze/acer-negundo-famingo-eschenahorn-detail.html

On my localhost (the same php Version) the decimals in the dropdown are showing.

Pleas can you help me? I don´t know whats wrong! Are there special php.ini ´s which I have to set?
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on December 14, 2014, 17:22:18 pm
working on the update - should be ready v.soon for VM3 only
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: PRO on December 19, 2014, 23:01:20 pm
trying to get the 3.0 working this weekend.

It is halfway there
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ruhanda on December 24, 2014, 10:32:23 am
trying to get the 3.0 working this weekend.

It is halfway there

Thanks god, this great plugin update will be release for VM3, we are still waiting.... ::)
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: AH on December 24, 2014, 10:37:08 am
The new and updated VM3 plugin is now available here

http://forum.virtuemart.net/index.php?topic=127362.msg436591#msg436591 (http://forum.virtuemart.net/index.php?topic=127362.msg436591#msg436591)
Title: Re: Product Options Custom Field Dropbox Plugin (Updated)
Post by: ruhanda on December 24, 2014, 11:20:22 am
The new and updated VM3 plugin is now available here

http://forum.virtuemart.net/index.php?topic=127362.msg436591#msg436591 (http://forum.virtuemart.net/index.php?topic=127362.msg436591#msg436591)

Yes it works, all my field dropbox appear now...thanks you all, great plugin and great support