Author Topic: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5  (Read 893916 times)

Marco

  • Jr. Member
  • **
  • Posts: 139
Hi

Update juli 2009:
For some time now I'm not using this hack myself anymore.
So please don't PM me with questions.
I did not develope the hack I only paid for the conversion from the old hack.
Thanks  :)


I received the package of the converted custom attributes extended hack 2.1 for VM 1.1 and joomla 1.5.
You can download it here.

This package is still a beta version of the conversion.
So don't use it for a production site.
Be sure to backup before you upload this hack!

You install it just by overwriting the existing files.

It is a conversion of the Custom Attributes Extended 2.1 [Hack] made by Barnett.(http://forum.virtuemart.net/index.php?topic=28192.0)
The syntax used to built custom attributes is the same as the old hack.
The 2.1 version seemed to have a file upload problem and a cart update problem.
Those are gone in this VM 1.1 joomla 1.5 version.

The conversion is done by Joseph Kwan(JK), who is also active on the VM forum.
He did a great job, but the hack needs more testing to get the bugs out, as much as possible.
Although I paid JK to do the conversion, he put in some time of his own because of the problems that were in the original hack.
So when you like the hack and going to use it when it is stable, consider to make a small donation to JK.
In his forum signature you will find a donate link.

Things that are added to this hack:
1. Date Prefix is added to the uploaded filename. The name shown in the cart is the original filename.
2. You are able to set an upload directory outside your webroot
3. File Upload defaults (/path/to/rootdirectory|filetypes|max file size|min file size) can be set in VM config. Extra tab is added.

Problems allready known:

1. When add to cart is in ajax mode the file attribute gives errors and does not upload the file. (you should turn off add to cart ajax)
2. Savecart does not work

To see any error message you better turn off add to cart ajax.
To turn off add to cart ajax mode, there is a file in the package called addtocart_form_no_ajax.tpl.php rename it to addtocart_form.tpl.php and replace it.
Or go to VM configuration->Site-> Layout -> (theme)configuration -> use ajax... no.

Update: 2008-08-04
Thanks to Nemesis02 version .13 and .15 is ready to use for VM 1.1.2, you can download them here or read his postand here.

Update: 2008-08-01
ver.15 (for VM 1.1.0)
- should fix the price attribute problem, reported in this topic.
- does not have a fix for the "," problem reported in this topic, because to fix this would need a major change of the code and JK is still looking at this.
- has 2 new features sponsored by Ben Stovall, I have not tested it yet but will try to explain it in new reply(here)

Update: 2008-06-12
- Should fix tax problem. When using tax, attribute price is shown incl. tax now.
In the syntax you still should use prices excl. tax.
- Should fix 'JHTMLBehavior' error

Update: 2008-05-16
Should fix child products problem.
Known issues:
1. File attribute type cannot be used together with ajax because ajax do not upload file.
2. Multiple attribute types cannot be used together with childlist display option : there will be conflict in field names between different children
3. Savecart cannot be used with attributes that need price calculations by given formula (such as cost/char etc.).

Update: 2008-05-12
ps_product_attribute.zip added, should fix the mandatory attribute problem.
Just overwrite the ps_product_attribute.php.
Bug reported by cer.

Update: 2008-05-10
Quantity add to cart fixed.
Bug reported by cer

Update: 2008-05-09
You can download version 2.11 now.
It has some small bugfixes and an option to enable/disable savecart in VM config.

Please report your problems/bugs as clear as possible.
And don't forget to donate to JK!

Have fun!

[attachment cleanup by admin]

Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #1 on: May 07, 2008, 22:39:30 PM »
No news is good news?

Small update.
Problem:
1. For now we leave this open. JK can provide a solution but it will cost more. So for this version you have to turn off add to cart ajax in VM config when you use file upload.
2. open_base_dir error, is related to server settings. If you want to use upload outside the web root and you are getting this message, you have to change your server settings. Info can be found on the internet.

We found an other problem with the hack.
3. In VM 1.1 there is a savecart feature built in(I did not know this). When you have products in your cart and log out, after a while you login again there are error messages related to this hack.
JK will provide a way to turn off the savecart feature when you want to use this hack.

Marco

aravot

  • Peter
  • Quality&Testing Team
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #2 on: May 07, 2008, 23:55:47 PM »
Problem:
1. For now we leave this open. JK can provide a solution but it will cost more. So for this version you have to turn off add to cart ajax in VM config when you use file upload.

Maybe you can post the required amount so those interested can share the cost.

Quote
We found another problem with the hack.
3. In VM 1.1 there is a savecart feature built in(I did not know this). When you have products in your cart and log out, after a while you login again there are error messages related to this hack.
JK will provide a way to turn off the savecart feature when you want to use this hack.

I think it would be better to fix this, rather than find a workaround.

Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #3 on: May 08, 2008, 15:19:07 PM »
My first intention was to convert the existing hack to a workable version for VM 1.1.

Next will be extending the extended hack to better attribute system.
http://forum.virtuemart.net/index.php?topic=39018.0
People who are willing to donate(money and or suggestions) can join us making it happen.
Details on how, will follow soon.

Anyone who can't wait and want the savecart and the fileupload fixed for this version, fixing it will cost:
- savecart fix $90
- fileupload fix $90
Just let us know how much you like to donate.
When we have the money for a fix JK will start on that one.


Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #4 on: May 09, 2008, 18:56:38 PM »
New zip file for download.
See first post.

aravot

  • Peter
  • Quality&Testing Team
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #5 on: May 09, 2008, 19:04:14 PM »
I haven’t had time to install and test this, but for me it is strange that there was so much request for this hack and now that is available it seems the interest has faded, very strange.

crotech

  • Beginner
  • *
  • Posts: 30
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #6 on: May 09, 2008, 23:59:07 PM »
I've been quietly watching and testing. I will install the new version and test it this evening. I'll report back.

cer

  • Beginner
  • *
  • Posts: 24
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #7 on: May 10, 2008, 02:53:11 AM »
Hi,
thanks for the hack! I do experience problems with the product quantity. Regardles what I enter only one product will be added to the cart. Works fine without the ca-hack.
Any ideas?


I use VM1.1 on Joomla 1.5.3 and custom attributes hack 2.11
VM1.1.3 // VM 1.1.4 RC
Joomla! 1.5.12
Xampp

Sublimetime

  • Beginner
  • *
  • Posts: 29
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #8 on: May 10, 2008, 03:29:06 AM »
I haven’t had time to install and test this, but for me it is strange that there was so much request for this hack and now that is available it seems the interest has faded, very strange.

I find it strange that the even though this is a large requested feature, THERE HAS been nearly no Dev involvement /interest / or assistance..

Very strange indeed... :-/

but hey, at least the new VM UI is pretty! ... kinda reminds me of an ex girlfriend... looks nice.. but not intelligent enough to just even get the basics down.


As far as testing, I have downloaded the package and dealing with the outsourced Dev ive been working with.. Kinda trying to figure out what rout to go.. to do something separate , or build more onto this one.. I don't wanna waste money on one , when the other would be a better rout...




aravot

  • Peter
  • Quality&Testing Team
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #9 on: May 10, 2008, 04:08:12 AM »
There are only two Devs actively involved in VirtueMart despite numerous requests for help very few have shown interest, but even those have disappeared after a week or two almost all the time the reason no time, we even requested for submission of FAQs, proof reading and completion of the manual, if we waited VirtueMart 1.1 User Manual wouldn’t be ready, we contacted various coders to include their hacks in VirtueMart 1.1 but never received a reply and without written consent we can’t add their hacks, or it was a reply that we didn’t anticipated go figure, so you see we are trying our best but are short handed, you don't expect two or three Devs do everything.

Let’s see what you will bring to the table.

Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #10 on: May 10, 2008, 08:15:55 AM »
Regardles what I enter only one product will be added to the cart. Works fine without the ca-hack.

Thanks for the input.
I tried it myself, and you're right.
We're going to have a look at it.

Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #11 on: May 10, 2008, 08:38:40 AM »
Quantity add to cart bug fixed.
New version can be downloaded, see first post.

cer

  • Beginner
  • *
  • Posts: 24
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #12 on: May 10, 2008, 13:58:45 PM »
thanks a lot,
works perfectly now.
I will do some more testing.
VM1.1.3 // VM 1.1.4 RC
Joomla! 1.5.12
Xampp

cer

  • Beginner
  • *
  • Posts: 24
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #13 on: May 11, 2008, 21:19:11 PM »
found two more problems:
1. ca's are always mandatory
2. tax for ca's isn't calculated right
VM1.1.3 // VM 1.1.4 RC
Joomla! 1.5.12
Xampp

Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1
« Reply #14 on: May 11, 2008, 21:37:35 PM »
What I noticed with the tax is that it shown on the product details page excl. tax.
When added to the cart it is shown incl. tax (the right way) and calculated right with the product price.
You have to use for attribute charged price an excl. tax price.
Like you have to do for the normal custom attributes in VM.
I reported this to JK some days ago.
Do you mean the same?
It is an old problem from the VM 1.0.x version of the hack.

Your first problem is also an old problem I believe.(have to look into this)
I will ask JK to have a look at it.

Thanks.