VirtueMart Dev/Coding Central: VM1 (old version) > Development Projects, Modifications, Hacks & Tweaks. VM1.1

Converted Custom Attributes Extended Hack 3.0 for VM 1.1 + J1.5

(1/35) > >>

webgobe:
Since the original hack is greatly extended I decided to start a new thread for the update.
The current version, which will be attached there (and you will have a link to the download in my signature) will be available from my homepage too.
There are still rough corners, and the documentation needs update - this is the main reason I postponed the launch of this version - but the hack is perfectly usable, and the code is updated for VM 1.1.9 and Joomla 1.5.
It's backward compatible to VM versions 1.1.4 (tested) and might work even with earlier versions (1.1.2 and 1.1.3) too.
It's a core hack, use it on your risk!! Support is free, but it's only in the limits of free time I can dedicate to it (that's it, milk and bread is still sold on real money at my place too, and I am a professional freelancer, not a hobbyist). I'm usually overwhelmed with commercial jobs, so you can expect some delays in the responses.
If you want a quick and effective response, send me the following data along with your support request:

* VM version
* Joomla version
* URL of the shop
* VM template used
* List of eventual VM hacks used others, that most recent version of CAEPrepare yourself to the eventuality that I MAY need full access to the site in the case you cannot fix it yourself based on the tips provided.
And remember! This hack is built upon a work of couple of dedicated VM professionals, and contains code released as "side effect" of some commercial assignments, code released to the public with approval of the  people who where paid for it. And this trend will be continued, all code added will be shared - if I can obtain the consent of the buyer.
A relatively long, but incomplete list of contributors is found in the docs, and in the previous threads dedicated to this hack:
Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5 - http://forum.virtuemart.net/index.php?topic=39666.0
Custom Attributes Extended 2.1 [Hack]  - http://forum.virtuemart.net/index.php?topic=28192.0PS1. Since the new regulations in the forum does not let me put a link on the signature, you must came back here... or find my site where I also will list the hack.
PS2. Pay credits to ALL contributors. I am only a humble contributor to this hack, there are others, who developed it to the stage where I picked it up (first for my own needs) and weaken up in one day as the sole supporter of the hack. But this does not mean, that would be possible to read this and use this hack without work of Barnett (author of original hack), Joseph Kwan (who ported it to VM 1.1/Joomla 1.5), Nemesis02, Cer, Ben Stovall, Ruppert, Mike Taylor and many others I may forgot - my apologies for them!

mizou125:
Hi,
Thank you for this version,
i have a error :
Fatal error: Class 'ps_product_custom_type_file ' not found in \administrator\components\com_virtuemart\classes\ps_product_custom_attribute.php on line 92

Can you help me please ??

cyb3r:
Hello webgobe,

really nice work! It is a nice hack for virtuemart. I have testet the functions a little bit and i have a problem with the addition of many price values from checkboxes.

I have created a product and add this to custom attributes list: Donate (checkbox)(Who do you want to donate to?|title-hover)(Widows [+5.00], Orphans[+10.00], Test[+20.00]). Now in the cart the values get not sum up. It works only if one checkbox is selected, but not for multiple selection.

Can you help me please to fix it?

Best Regards,
cyb3r

webgobe:

--- Quote from: mizou125 on November 23, 2011, 15:01:30 PM ---Fatal error: Class 'ps_product_custom_type_file ' not found in \administrator\components\com_virtuemart\classes\ps_product_custom_attribute.php on line 92

--- End quote ---
Send me an URL. Seemingly you didn't installed the hack correctly - or you use a VirtueMart template other, than the default one, and didn't made the modifications needed for the template.

webgobe:

--- Quote from: cyb3r on November 23, 2011, 15:07:43 PM ---I have created a product and add this to custom attributes list: Donate (checkbox)(Who do you want to donate to?|title-hover)(Widows [+5.00], Orphans[+10.00], Test[+20.00]). Now in the cart the values get not sum up. It works only if one checkbox is selected, but not for multiple selection.

--- End quote ---
Hmm, probably will need SuperAdmin access to debug it. But let me try on local testbed site your attribute, to be sure that is working on my setup.
Update:
Works on my end, so it's something wrong with your setup

Navigation

[0] Message Index

[#] Next page

Go to full version