Author Topic: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]  (Read 46232 times)

doc_denis

  • Beginner
  • *
  • Posts: 36
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #120 on: November 18, 2016, 10:07:12 am »
Hello,
where is the "Custom Dropbox Title" or "qvariant Title" in the new version ?
...It was a very convenient function to avoid multiple custom fields.
thank-you.

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2561
  • VirtueMart Version: 3.2.3
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #121 on: November 18, 2016, 13:04:14 pm »
Not sure what you mean?
regards
A

Joomla 3.7.2
php 5.6 + php 7

doc_denis

  • Beginner
  • *
  • Posts: 36
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #122 on: November 22, 2016, 15:18:44 pm »
Hello, in my screenshot attachment

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2561
  • VirtueMart Version: 3.2.3
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #123 on: November 23, 2016, 10:31:16 am »
doc-denis

I see what you mean - in the old "dropbox" you used to be able to change the customfield title when you added it to a product.

This had the benefit of allowing the customfield title to be modified and be different to that of the "master" customfield

I had an issue with this - because when/if I wanted to change the "master" customfield title  I then had to go and change the (potentially)  hundreds of product customfields of that type.

The behaviour I wanted was to be that the customfield title reflected the setting of the master customfield title.

Therefore I changed the plugin such that it no longer stores a title at a the product level - and uses the "master" customfield title in product displays

You can continue using the old dropbox version if you require that behaviour.

But the new qvariant customfield version behaves as shown on page 1 and as described above.
regards
A

Joomla 3.7.2
php 5.6 + php 7

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2561
  • VirtueMart Version: 3.2.3
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #124 on: January 30, 2017, 12:25:16 pm »
New features added:

Ability to set cart weight for a variant - to override the standard product weight

Ability to append a string to the standard product sku for a variant

Go to the first post for details and the plugin files
regards
A

Joomla 3.7.2
php 5.6 + php 7

m.davide82

  • Jr. Member
  • **
  • Posts: 69
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #125 on: April 19, 2017, 18:27:38 pm »
Hi,

thanks for this wonderful plugin!

I have a question:
I set @+10, in the custom field is written 10,00€ (correct), but the price changes in +10 +vat.

Any idea on how can I solve it?


Thanks a lot!

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2561
  • VirtueMart Version: 3.2.3
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #126 on: April 19, 2017, 19:02:30 pm »
m.davide82

The prices are net

If you look at post #117 it may give you an idea.

I am not intending to modify the plugin to support the display of tax inclusive values in the dropdown.

regards
A

Joomla 3.7.2
php 5.6 + php 7

m.davide82

  • Jr. Member
  • **
  • Posts: 69
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #127 on: April 20, 2017, 12:57:42 pm »
Thank you very much, just solved inserting the VAT manually!


AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2561
  • VirtueMart Version: 3.2.3
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #128 on: April 20, 2017, 15:15:11 pm »
Yes I believed that is what post #117 ended up doing  :)

Thanks for the update.
regards
A

Joomla 3.7.2
php 5.6 + php 7

Studio 42

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2112
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #129 on: April 20, 2017, 18:08:49 pm »
You can try this in the plugins/vmcustoms/qvariant\tmpl\default.php to add taxes.
add at begin
Code: [Select]
if (!class_exists ('calculationHelper')) {
require(VMPATH_ADMIN . DS . 'helpers' . DS . 'calculationh.php');
}
$calculator = calculationHelper::getInstance ();
and replace
Code: [Select]
$currency->priceDisplay((float)$price)with
Code: [Select]
VirtueMartModelCustomfields::_getCustomPrice((float)$price, $currency, $calculator)
Note, i don't tested it, i wrote it from scratch

vlasmar

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #130 on: April 25, 2017, 13:08:12 pm »
Hello

I have a problem with this plugin. I want in some products to get a dropbox for different ml with different prices. But when I change the size (ml) it changes all the products prices. Then all products have the same price whatever I choose at dropbox.

Studio 42

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2112
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #131 on: April 25, 2017, 13:48:50 pm »
Have you try with other customfields ? Eg. Using original customfield with "is a list " option ?
I mean the plugin is not the problem but your Virtuemart script or settings or template overides.

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2561
  • VirtueMart Version: 3.2.3
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #132 on: April 25, 2017, 15:07:44 pm »
vlasmar
Show your product configuration for the plugin
regards
A

Joomla 3.7.2
php 5.6 + php 7

vlasmar

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Simple VM3 Product Cart Variant Custom Field / Attribute Plugin [ FREE ]
« Reply #133 on: April 27, 2017, 08:20:13 am »
Hello

Thanks for the responses. I also tried with String and I saw that it does the same thing. So it's templates problem, right?