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

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2520
  • VirtueMart Version: 3.0.19.8
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #15 on: February 01, 2015, 15:58:46 pm »
Step

I am not intending to enhance dropbox, unless I (or possibly PRO) need any new functionality.

So as I said earlier, it works they way it works now and if that is not suitable, then you need to look for custom code or a different plugin.

regards
A

Joomla 3.6.5
php 7

SteP[IT]

  • Jr. Member
  • **
  • Posts: 172
  • Independent Websites Builder
    • MMC Edizioni - Italian Publisher (PaperBook)
  • VirtueMart Version: 3.0.19
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #16 on: February 01, 2015, 21:27:56 pm »
My latest post was NOT intended to re-ask you something, but simply to make PRO aware I already knew how to implement standard VM functions: there was no needing for a further reply :)
I have no time to adjust the plugin (I'm working on another project, also using another ecommerce platform...), so we can live with it "as is"
Regards
J 3.6.5 - VM 3.0.19

*** MMC EDIZIONI - Italian High-Quality PaperBooks Publisher ***
*** Company Site: http://www.mmcedizioni.it ***

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2520
  • VirtueMart Version: 3.0.19.8
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #17 on: February 01, 2015, 22:10:35 pm »
Thanks for the update Step
regards
A

Joomla 3.6.5
php 7

ivacademyru

  • Beginner
  • *
  • Posts: 40
  • Business starter-Websites & Support
    • Web site design, eCommerce design, you own first Online Business Order Now and Get - 10% off  at IT IVA lab just contact us!
  • VirtueMart Version: vm3
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #18 on: February 05, 2015, 12:27:14 pm »
Hi thankyou so much for you plugin. I would like to ask you how to ad in you plugin more costumed fields .I have an carpet shop any carpet have 60 sizes but in you plugin I could insert only 30 sizes for example 2x3, 3x4,5x6,8x9 etc 60 sizes. Please reply
Web site design, eCommerce design, you own first Online Business Order Now and Get - 10% off  at IT IVA lab just contact us, click www.ivacademy.ru

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2520
  • VirtueMart Version: 3.0.19.8
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #19 on: February 05, 2015, 21:20:33 pm »
You can edit set the variables when you create the customfield in the admin they get copied to the product when you add the customfield to the product.

Doing it this way can save a ton of work !

However, if you are not doing it this way (and are editing at a product level) the limit is set because I used an input field (not textarea) at a product level

To set you own size just edit the:

plugins/vmcustom/drop/drop.php

Find this code and change the "150" to a size that fits you.


// get product param for this plugin on edit
   function plgVmOnProductEdit($field, $product_id, &$row,&$retValue) {

      if ($field->custom_element != $this->_name) return '';

      //VmConfig::$echoDebug = true;
      //vmdebug('plgVmOnProductEdit',$field);
      $html ='
         <fieldset>
            <legend>'. vmText::_('VMCUSTOM_DROP_BOX') .'</legend>
            <table class="admintable">
               '.VmHTML::row('input','VMCUSTOM_DROP_STRING','customfield_params['.$row.'][custom_drop]',$field->custom_drop,'class="inputbox"','size="150"').'
            </table>
         </fieldset>';
      $retValue .= $html;

      return true ;
   }
regards
A

Joomla 3.6.5
php 7

ivacademyru

  • Beginner
  • *
  • Posts: 40
  • Business starter-Websites & Support
    • Web site design, eCommerce design, you own first Online Business Order Now and Get - 10% off  at IT IVA lab just contact us!
  • VirtueMart Version: vm3
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #20 on: February 07, 2015, 10:29:01 am »
Thankyou so much
Web site design, eCommerce design, you own first Online Business Order Now and Get - 10% off  at IT IVA lab just contact us, click www.ivacademy.ru

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2520
  • VirtueMart Version: 3.0.19.8
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #21 on: February 07, 2015, 14:31:03 pm »
Glad it worked for you  :)
regards
A

Joomla 3.6.5
php 7

jimleeder123

  • Jr. Member
  • **
  • Posts: 208
    • My Website
  • VirtueMart Version: 3.0.12
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #22 on: February 09, 2015, 15:41:53 pm »
I have posted this problem on my own post but since this is the proper plugin thread I'll post here too.

The plugin's functionality works all fine as it should, the only thing is on the website where the "@" symbol is, it shows the letter "A" with a symbol above it. I have attached a picture to show this. Any help to stop this please?
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 25538
  • Always on vacation
    • Jenkin Hill Internet
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.0 on Joomla 3.6.5 PHP 7.0.12

Testing VM3.2.1 on J!3.6.5 and J!3.7B3

azautographics

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #24 on: March 10, 2015, 18:03:19 pm »
Can some one take a look at what going on my site...

joomla 2.5.28, VM 3.0.6 with this dropbox plugin.

I'm waiting to hear back from virtuemarttemplats for a week now but still havent heard back.

The custom field are showing bellow the description, I know this if from the template.
My main concern is  the carts functions, Its not loading the custom fields. 
<<link removed>>
all of the products have two or more custom fields but only the ones with the cart input marked no are displaying on the current template.




AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2520
  • VirtueMart Version: 3.0.19.8
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #25 on: March 10, 2015, 20:52:49 pm »
check your backend configuration and/or post it on here - showing the frontend and noting that some are not displaying is completely useless

In addition the link above the dropbox looks like spam!

If the dropbox is not working and you have configured it as per post 1 on the thread then you may need to try another plugin
regards
A

Joomla 3.6.5
php 7


AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2520
  • VirtueMart Version: 3.0.19.8
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #27 on: March 12, 2015, 09:04:40 am »
azauto

So nothing is displayed for any customfield using the dropbox plugin, or just not the full listing?


regards
A

Joomla 3.6.5
php 7

azautographics

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #28 on: March 12, 2015, 21:19:05 pm »
Only custom fields showing are the ones with the cart input marked no, if yes no show on the front end.

Finally after checking up on the template guys. They suggested to rename the product details default.php and check the issues.

Im happy to report that all custom fields are working after renaming the default product details page.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 25538
  • Always on vacation
    • Jenkin Hill Internet
Re: VM3 Product Options Custom Field Dropbox Plugin
« Reply #29 on: March 12, 2015, 23:56:14 pm »
That means that their template override does not work, as when renamed it switches back to use the default VM supplied template file.
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.0 on Joomla 3.6.5 PHP 7.0.12

Testing VM3.2.1 on J!3.6.5 and J!3.7B3