Post by smitch6 » Sat Dec 17, 2011 2:51 am

does this work with the latest version of OC?
i ask because i installed it and got an error on my product page ???

Notice: Error: Could not load model tool/seo_url! in /home/steve/public_html/personalisedpolos.org.uk/vqmod/vqcache/vq2-system_engine_loader.php on line 39

i haven't had time to look at the line yet as i've been silly busy but will hopefully get a chance to look in the morning

:)

www.pattestersuffolk.co.uk


Active Member

Posts

Joined
Sat Sep 17, 2011 2:46 pm


Post by marvmen21 » Sun Dec 18, 2011 12:09 am

smitch6 wrote:does this work with the latest version of OC?
i ask because i installed it and got an error on my product page ???

Notice: Error: Could not load model tool/seo_url! in /home/steve/public_html/personalisedpolos.org.uk/vqmod/vqcache/vq2-system_engine_loader.php on line 39

i haven't had time to look at the line yet as i've been silly busy but will hopefully get a chance to look in the morning

:)
Yes, I havent found any bug yet, and it shouldnt cause any problem in the product page becase this mod doesnt touch any file related to the products page. From your error, I can see it's something related with the seo url.

You want to thank me for my time! :) Click here to donate


Active Member

Posts

Joined
Tue Nov 09, 2010 4:54 am

Post by vhenning » Mon Jan 23, 2012 5:27 pm

i want to insert the content of the new field in every ordermail! kann you help me with the script

Newbie

Posts

Joined
Thu Dec 01, 2011 6:16 pm

Post by robinson » Fri Jan 27, 2012 6:07 pm

Hi,

I need to enter a whole new section of fields in the register form (and the account info) and I thought it would be easier to put them in a single vqmod.

With one suplementary field, all it's ok. After I put the second, in the frontend I get the error: "Undefined variable: entry_cui in /hsphere/local/home/bestt3/btools.ro/shop/vqmod/vqcache/vq2-catalog_view_theme_default_template_account_register.tpl on line 76 "

I took a look on that file and on line 76 I have "<td><span class="required">*</span> <?php echo $entry_cui; ?></td>". So, nothing strange.

I use OpenCart 1.5.1.3 and the latest vqmod.

Any suggestions?

Thanks.

Newbie

Posts

Joined
Fri Jan 27, 2012 6:13 am

Post by marvmen21 » Sat Jan 28, 2012 12:22 am

robinson wrote:Hi,

I need to enter a whole new section of fields in the register form (and the account info) and I thought it would be easier to put them in a single vqmod.

With one suplementary field, all it's ok. After I put the second, in the frontend I get the error: "Undefined variable: entry_cui in /hsphere/local/home/bestt3/btools.ro/shop/vqmod/vqcache/vq2-catalog_view_theme_default_template_account_register.tpl on line 76 "

I took a look on that file and on line 76 I have "<td><span class="required">*</span> <?php echo $entry_cui; ?></td>". So, nothing strange.

I use OpenCart 1.5.1.3 and the latest vqmod.

Any suggestions?


Thanks.
It's possible, but you need to duplicate and change the code in all the add tags. That error you're getting may mean that you didn't duplicate correctly the code that is being inserted to the controller or model files. I
This extension is free, but you can always buy the commercial version and get support, and free small modifications.
http://www.opencart.com/index.php?route ... order=DESC

You want to thank me for my time! :) Click here to donate


Active Member

Posts

Joined
Tue Nov 09, 2010 4:54 am

Post by cuculetea » Thu Feb 16, 2012 5:16 am

Hello guys,


Any one have a .xml for vqmod to add fields on address table? And also to see on billing address (if they want to add a new one when they finish orders/and on account when try to modify address - not the personal information)) and also to see on admin area?

I understade how you make for personal information but for billing address i see is another table on DB, i thing i need to modify other files to have this working....

Also (but i belive i can do this) the email confirmation to have attach with a pdf of the pre-order(need it to can pay with bank)

Please if any one have it....


Or at least please tell me what files i need to modify for this



Thanks on advance,
Andrei

New member

Posts

Joined
Wed Feb 15, 2012 10:02 pm

Post by marvmen21 » Thu Feb 16, 2012 6:17 am

cuculetea wrote:Hello guys,


Any one have a .xml for vqmod to add fields on address table? And also to see on billing address (if they want to add a new one when they finish orders/and on account when try to modify address - not the personal information)) and also to see on admin area?

I understade how you make for personal information but for billing address i see is another table on DB, i thing i need to modify other files to have this working....

Also (but i belive i can do this) the email confirmation to have attach with a pdf of the pre-order(need it to can pay with bank)

Please if any one have it....


Or at least please tell me what files i need to modify for this



Thanks on advance,
Andrei
Hi, to get another field in the shipping and billing address you will need to edit a bunch of new files related to the address and order, and you will also need to add 3 or 4 new columns to your address and order table in your database.
Files=>
catalog/view/theme/default/template/checkout/address.tpl"
"catalog/view/theme/default/template/account/address_form.tpl
"catalog/controller/account/address.php"
"catalog/controller/checkout/address.php"
"catalog/model/account/address.php"
"catalog/controller/checkout/confirm.php"
"catalog/controller/account/order.php"
"catalog/model/account/order.php"
"catalog/model/checkout/order.php"
"admin/view/template/sale/order_info.tpl"
"admin/controller/sale/order.php"
"admin/model/sale/order.php"

"admin/view/template/sale/customer_form.tpl"
"admin/controller/sale/customer.php"
"admin/model/sale/customer.php"
"admin/language/english/sale/customer.php"
"admin/language/english/sale/order.php"
"catalog/language/english/account/register.php"
"catalog/language/english/account/address.php"
"catalog/language/english/checkout/checkout.php"
The files in bold face are not modified in any way by the vqmod I posted here, so you will have to add them to the xml file. You will also have to make changes to the other files, too. You can use my vqmod as a guide, but to achieve what you need you basically have to write a new one. I have one that does exactly this cuz I client had bought the commercial version and asked me for these changes. The vqmod is free as it is, for custom changes like yours I advice to try to guide yourself using the free vqmod, or buy the commercial version to support open cart and get support and other small modifications.
About the pdf file, I think I've seen that in the forum, but don't remember where, try to search it up.

You want to thank me for my time! :) Click here to donate


Active Member

Posts

Joined
Tue Nov 09, 2010 4:54 am

Post by cuculetea » Thu Feb 16, 2012 6:21 pm

Thanks for reply. I will try to make to see if i can get this. If i will do this i will post the file here:)(coz i like it free :P )

New member

Posts

Joined
Wed Feb 15, 2012 10:02 pm

Post by marvmen21 » Thu Feb 16, 2012 11:06 pm

Great, one more thing, since the new checkout system uses ajax, you will have to edit checkout.tpl manually since vqmod cannot modify ajax code.

Marvin M

You want to thank me for my time! :) Click here to donate


Active Member

Posts

Joined
Tue Nov 09, 2010 4:54 am

Post by cuculetea » Fri Feb 17, 2012 1:37 am

anyway i have allot of problem with this because i read can search just on row....and i have some files when i have to search for multiple row(to make differents betwen payment_address and shipped_address).

New member

Posts

Joined
Wed Feb 15, 2012 10:02 pm

Post by marvmen21 » Fri Feb 17, 2012 2:14 am

In that case you need to make use of the index attribute.

You want to thank me for my time! :) Click here to donate


Active Member

Posts

Joined
Tue Nov 09, 2010 4:54 am

Post by cuculetea » Fri Feb 17, 2012 3:30 am

Hello again,

From what i see is no way to make this with xml on vqmod. The idee is i don`t want to have this fields on "shipped address" but also they use shipped_"table" and payment_"table" and this table use same field from address information(i hope you understande what i mean)+ vqmod it can be use it to make search for more then one row. The only ideea is to make it "manualy" on each file,and if will be an upgrade i will get a pack of coca-cola to drink and work until i get crazy. Any ideea i have about how to make this i can`t see a way without modify the .php and .tpl files. The easy way is to put that fields on "personal information" but will be "ugly".


I hope they will make this fields to be customize from admin or they will implement to search for more then one row on vqmod.


If i am rong about this please let me know

Thanks in advance,
Andrei

New member

Posts

Joined
Wed Feb 15, 2012 10:02 pm

Post by cuculetea » Fri Feb 17, 2012 4:50 am

marvmen21 wrote:In that case you need to make use of the index attribute.

sorry i see your post to late

New member

Posts

Joined
Wed Feb 15, 2012 10:02 pm

Post by alper60 » Tue Apr 10, 2012 6:57 am

I'm using 1.5.2.1 and it didn't seem on register page. could you update this for 1.5.2.1

User avatar
Newbie

Posts

Joined
Mon Apr 09, 2012 5:02 am

Post by maranjo » Tue Apr 17, 2012 7:05 pm

Just used this on 1.5.2.1 and it only needed two minor alterations to the xml file:

1) in search for 'final class Affiliate' in system/library/affiliate.php change the search to 'class Affiliate'

2) in search for 'final class Customer' in system/library/customer.php change the search to 'class Customer'

Apart from that, it all seems to work fine.

Many thanks for this contribution!

Martin
Last edited by maranjo on Thu Apr 19, 2012 12:44 am, edited 1 time in total.

New member

Posts

Joined
Wed Apr 28, 2010 8:39 pm

Post by marvmen21 » Tue Apr 17, 2012 8:03 pm

maranjo wrote:Just used this on 1.5.2.1 and it only needed two minor alterations to the xml file:

1) in search for 'final class Affiliate' in system/library/affiliate.php change the search to 'class Affiliate'

2) in search for 'final class Customer' in system/library/customer.php change the search to 'class Customer'

Apart from that, it all seems to work fine.

Many thanks for this contribution!

Martin
You're welcome. Thanks for the info.

Best Regards,

Marvin

You want to thank me for my time! :) Click here to donate


Active Member

Posts

Joined
Tue Nov 09, 2010 4:54 am

Post by buttlerkid » Wed Apr 18, 2012 7:43 pm

I can't get this work, don't know what I'm missing.
Uploaded the file, changed the template's /default/ to /sportstore/ , altered the customer table, and Cedu won't appear in the registration form :

http://anvelope-bazar.ro/index.php?rout ... t/register

Using 1.5.1.3 version. Any suggestions?
Thanks!

Edit: I managed to add the field, now only one thing is driving me crazy: to add more fields. Could somebody explain it step by step, please?

New member

Posts

Joined
Thu Mar 29, 2012 8:37 pm

Post by marvmen21 » Thu Apr 19, 2012 12:27 am

buttlerkid wrote:I can't get this work, don't know what I'm missing.
Uploaded the file, changed the template's /default/ to /sportstore/ , altered the customer table, and Cedu won't appear in the registration form :

http://anvelope-bazar.ro/index.php?rout ... t/register

Using 1.5.1.3 version. Any suggestions?
Thanks!

Edit: I managed to add the field, now only one thing is driving me crazy: to add more fields. Could somebody explain it step by step, please?
Hi, the extension is free as it is, if you bought the commmercial version, please contact me so I can provide you with personalized support.

For adding new fields, pay attention to the original xml and try to duplicate the necessary parts. You can take a look at this post by qphoria so you know which files are involved. http://forum.opencart.com/viewtopic.php?f=29&t=2648
(Please note that the post is a little outdated, so the names of some files is different in the current versions, but it will help you to get a general idea of what this vqmod does, and what you have to add to it to add new fields)

You want to thank me for my time! :) Click here to donate


Active Member

Posts

Joined
Tue Nov 09, 2010 4:54 am

Post by buttlerkid » Thu Apr 19, 2012 2:11 am

Thanks for the reply.
I've added 6-7 more fields to my registration successfully. I have duplicated your file 7 times, and edited it. This was the only way I could do it. Now it's working, it saves everything in the database, and even in the backend.
Thanks a lot for your script! It helped me a lot, I just had to do it with patience.
If anyone needs guidance, I would be more than happy to help.

New member

Posts

Joined
Thu Mar 29, 2012 8:37 pm

Post by marvmen21 » Thu Apr 19, 2012 2:52 am

buttlerkid wrote:Thanks for the reply.
I've added 6-7 more fields to my registration successfully. I have duplicated your file 7 times, and edited it. This was the only way I could do it. Now it's working, it saves everything in the database, and even in the backend.
Thanks a lot for your script! It helped me a lot, I just had to do it with patience.
If anyone needs guidance, I would be more than happy to help.
Glad to know youve got it working. ;)

You want to thank me for my time! :) Click here to donate


Active Member

Posts

Joined
Tue Nov 09, 2010 4:54 am
Who is online

Users browsing this forum: No registered users and 2 guests