vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - microCART: Shopping System for vB4 (https://vborg.vbsupport.ru/showthread.php?t=256723)

micheal332001 04-22-2011 10:03 AM

have uploaded new files with a fix to the pricing problem.
please read the bug fix at top of page and for info on what files have been updated.

NJHK 04-22-2011 01:34 PM

I did the update but still the issue of a product with a discount for usergroups, if you have that product as an add on, doesn't matter what usergroup it is, it will display the discount amount and add that discount amount even if they aren't part of the usergroup that should be getting it.

micheal332001 04-22-2011 02:18 PM

Quote:

Originally Posted by NJHK (Post 2187395)
I did the update but still the issue of a product with a discount for usergroups, if you have that product as an add on, doesn't matter what usergroup it is, it will display the discount amount and add that discount amount even if they aren't part of the usergroup that should be getting it.

Could you please take a screen shot of this and post it here so i can see this as its not doing this on my development site.

NJHK 04-23-2011 01:30 AM

Quote:

Originally Posted by micheal332001 (Post 2187424)
Could you please take a screen shot of this and post it here so i can see this as its not doing this on my development site.

Here is what it looks like for the usergroup I"m assigning and the discount amount. Its only for 2 usergroups, 11 & 13.
http://www.ecotecforum.com/Personal/...microcart1.jpg

Here are the usergroups and their names
http://www.ecotecforum.com/Personal/...microcart2.jpg

My test account is a registered user
http://www.ecotecforum.com/Personal/...microcart3.jpg

When I look at the same item it shows me discounts for the other 2 items that are not assigned to my usergroup.
http://www.ecotecforum.com/Personal/...microcart4.jpg

micheal332001 04-23-2011 07:00 AM

i see what you mean and ill sort out a fix for the add-ons as thats where the problem is.
I know when you add the item to the cart it will workout right but it should be showing right on the viewproduct page as well.

NJHK 04-23-2011 10:09 AM

Quote:

Originally Posted by micheal332001 (Post 2187680)
i see what you mean and ill sort out a fix for the add-ons as thats where the problem is.
I know when you add the item to the cart it will workout right but it should be showing right on the viewproduct page as well.

Exactly. Thank you for your help.

Also, is there a list somewhere that states the options difference between the free version and the commercial version?

NJHK 04-23-2011 12:37 PM

1 Attachment(s)
I hate to be a nuisance but after doing some more testing...I found 3 more issues.

Issue #1: When you add an item to the cart and they are not in the usergroup for a discount, no discount is applied like normal. However, if you change the quanitity, it changes the quanitity and adds the discount. I attached 2 screenshots to show you exactly what happens.

Issue #2: When you do purchase an item and hit "Preview Order", it is automatically sending you to the My Account area where it shows you your statistics instead of like before showing them their total amount and then you had the option to go to paypal so they can pay their order.

Issue #3: Unregistered users for the customer contact info...it carries over instead of being empty. For example, I'm at work and I put "test" in all the fields...then I had someone else test it unregistered and they had "test" show up pre-populated. Would there be anyway to have that empty for unregistered users?

I really do appreciate your help so far.

bengbeng87 04-23-2011 01:00 PM

Hey guys,

Anyone who gets this error when using XAMMP or WAMMP:
"Parse error: syntax error, unexpected $end in directory of forums/microcart_admin.php on line 2776"

Go through admincp/microcart_admin.php and replace all "<?" php tags with "<?php" so all the php opening tags show like "<?php". XAMMP/WAMMP do not recognise shortcode PHP tags by default. http://www.phpbuilder.com/board/show...php?t=10316154

Ben

micheal332001 04-25-2011 12:10 PM

have fixed the problem with the add-ons prices not showing as they should do.

NJHK 04-25-2011 01:52 PM

Quote:

Originally Posted by micheal332001 (Post 2188431)
have fixed the problem with the add-ons prices not showing as they should do.

OK, I tested it and it did resolve showing the correct price...however it is still adding the discount when you do select the addon like so:

http://www.ecotecforum.com/Personal/...microcart5.jpg

and the discount is still applying:
http://www.ecotecforum.com/Personal/...microcart6.jpg

Also not sure if you saw my previous post about the 3 issues that I found afterwards...the biggest one deals with the discount again...

When you add it to your cart, no discount is given:
http://www.ecotecforum.com/Personal/...microcart7.jpg

but as soon as you change the quantity, it adds the discount per quantity:
http://www.ecotecforum.com/Personal/...microcart8.jpg

and then even after that, if you go to preview your order it does this:
http://www.ecotecforum.com/Personal/...microcart9.jpg

then it automatically sends you to your statistics page...
http://www.ecotecforum.com/Personal/...icrocart10.jpg

It doesn't send them to the other page to go to paypal like it used to.

I appreciate all your help. Just wanted to give you screen shots to help resolve.

mrmanners 04-25-2011 03:41 PM

Hello again. So things are progessing with our site but I have come up with another question and I searched the thread before I decided to ask about it. We are running VBSEO. I was wondering if they are going to search through the cart as well?

If so should I be doing something specific in the programming to make sure it captures our items?

Thanks,

micheal332001 04-25-2011 04:34 PM

Quote:

Originally Posted by NJHK (Post 2188465)
OK, I tested it and it did resolve showing the correct price...however it is still adding the discount when you do select the addon like so:



and the discount is still applying:


Also not sure if you saw my previous post about the 3 issues that I found afterwards...the biggest one deals with the discount again...

When you add it to your cart, no discount is given:


but as soon as you change the quantity, it adds the discount per quantity:


and then even after that, if you go to preview your order it does this:


then it automatically sends you to your statistics page...


It doesn't send them to the other page to go to paypal like it used to.

I appreciate all your help. Just wanted to give you screen shots to help resolve.

I will continue to look into this but it should still be sending you to paypal as that part was not changed.

Please make sure paypal is active and try it again if need be and let me know.

Quote:

Originally Posted by mrmanners (Post 2188498)
Hello again. So things are progessing with our site but I have come up with another question and I searched the thread before I decided to ask about it. We are running VBSEO. I was wondering if they are going to search through the cart as well?

If so should I be doing something specific in the programming to make sure it captures our items?

Thanks,

I will be adding some info on how to add the VBSEO for short url very soon.

micheal332001 04-25-2011 04:42 PM

Quote:

Originally Posted by NJHK (Post 2187743)
I hate to be a nuisance but after doing some more testing...I found 3 more issues.

Issue #1: When you add an item to the cart and they are not in the usergroup for a discount, no discount is applied like normal. However, if you change the quanitity, it changes the quanitity and adds the discount. I attached 2 screenshots to show you exactly what happens.

Issue #2: When you do purchase an item and hit "Preview Order", it is automatically sending you to the My Account area where it shows you your statistics instead of like before showing them their total amount and then you had the option to go to paypal so they can pay their order.

Issue #3: Unregistered users for the customer contact info...it carries over instead of being empty. For example, I'm at work and I put "test" in all the fields...then I had someone else test it unregistered and they had "test" show up pre-populated. Would there be anyway to have that empty for unregistered users?

I really do appreciate your help so far.

Issue #1 im looking into this as to why its adding the discount when you change the qty.

Issue #2 please make sure you have uploaded all files and chmod all folders within the microcart folder as well as the microcart folder to 777.

Issue #3 dont give Unregistered users the option to buy products as thats why it will show for any Unregistered user as there userid is 0.

if you are still having problems with Issue #2 please PM me with your ftp and admincp full access so i can sort this out for you.

mrmanners 04-25-2011 06:00 PM

Quote:

Originally Posted by micheal332001 (Post 2188518)

I will be adding some info on how to add the VBSEO for short url very soon.

I look forward to it.

NJHK 04-26-2011 02:28 AM

Quote:

Originally Posted by micheal332001 (Post 2188524)
Issue #1 im looking into this as to why its adding the discount when you change the qty.

Issue #2 please make sure you have uploaded all files and chmod all folders within the microcart folder as well as the microcart folder to 777.

Issue #3 dont give Unregistered users the option to buy products as thats why it will show for any Unregistered user as there userid is 0.

if you are still having problems with Issue #2 please PM me with your ftp and admincp full access so i can sort this out for you.

I tried it again, still didn't work to fix issue #2

Issue #3...no problem.

One last thing, is there a way to change the color of the font for the prices on the category pages?

I sent you a PM with the info. Thank you again.

RcHelp 04-26-2011 03:50 AM

Running great on 4.1.3. Just need to get some content in it now and start making some cash lol.

tinyangelwings 04-26-2011 09:32 PM

I have a problem, basically the product images are not showing for me in this addon.

I've checked the file structure and folder/file permissions and all appear to be exactly as they should be according to your setup guidelines. Any suggestions? :) Thank you.

http://www.tinyangelwings.com/community/cart.php

dt-pain 04-27-2011 03:10 AM

Nothing but problems. I just tried to go live.

1. Still get database error when trying to view Invoice.

2. When you go to buy something before you pay you preview your order and you can download the files with out even paying.

3. Clicking checkout does nothing..

I will PM you some info..

micheal332001 04-27-2011 06:09 AM

Quote:

Originally Posted by dt-pain (Post 2189152)
Nothing but problems. I just tried to go live.

1. Still get database error when trying to view Invoice.

2. When you go to buy something before you pay you preview your order and you can download the files with out even paying.

3. Clicking checkout does nothing..

I will PM you some info..


problem 1: what database errors you getting i cannot help unless i know whats going on.

problem 2: When setting up the upload path for your files you should place all file outside the root folder like so.

/home/SITEUSERNAME/downloads/

This way no one can access your files with a direct link.

problem 3: Have just uploaded new files that should fix the you are having.

micheal332001 04-27-2011 06:14 AM

Quote:

Originally Posted by NJHK (Post 2188725)
I tried it again, still didn't work to fix issue #2

Issue #3...no problem.

One last thing, is there a way to change the color of the font for the prices on the category pages?

I sent you a PM with the info. Thank you again.

I will add a new setting so that you can change the prices colour will sort it out within the next day or 2 as i have some privete work on.

Quote:

Originally Posted by tinyangelwings (Post 2189042)
I have a problem, basically the product images are not showing for me in this addon.

I've checked the file structure and folder/file permissions and all appear to be exactly as they should be according to your setup guidelines. Any suggestions? :) Thank you.

http://www.tinyangelwings.com/community/cart.php

This has been looked into before and you will find the answer within these posts.
As far as i know its down to how some sites have setup there forums and servers, im very lucky as i have a VPS server that i can get anything i want installed to make it easyer for my sites to work as they should.

This problem has been looked into and has been fixed before but im sorry you would have to look through the posts as i dont have time to look at every post here as i have alot of work on.

Enkrona 04-27-2011 08:29 AM

Hey thanks for the mod :D

Have you fixed the bug pertaining to this error yet?


Quote:

Originally Posted by Raffaele (Post 2179005)
Hello, micheal332001

after clicking the edit invoice i got this error see below

atabase error in vBulletin 4.1.2:

Invalid SQL:
SELECT * FROM vb_user WHERE userid=;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Request Date : Tuesday, March 29th 2011 @ 11:24:29 PM
Error Date : Tuesday, March 29th 2011 @ 11:24:29 PM
Script : http://www.autorized.com/forum/admin...hp?do=invoices
Referrer : http://www.autorized.com/forum/admincp/index.php?do=nav
IP Address : xxx.xxx.xxx.xxx
Username : Raffaele
Classname : vB_Database
MySQL Version : 5.1.47-community-log

Also noticed that when you add all the data it does not have anything on location

is there a simple fix that i can do please advice.

Thank you,
Raffaele:)


NJHK 04-27-2011 11:56 AM

Quote:

Originally Posted by micheal332001 (Post 2189182)
I will add a new setting so that you can change the prices colour will sort it out within the next day or 2 as i have some privete work on.

Thank you :)

dt-pain 04-27-2011 03:50 PM

Quote:

Originally Posted by micheal332001 (Post 2189179)
problem 1: what database errors you getting i cannot help unless i know whats going on.

problem 2: When setting up the upload path for your files you should place all file outside the root folder like so.

/home/SITEUSERNAME/downloads/

This way no one can access your files with a direct link.

problem 3: Have just uploaded new files that should fix the you are having.


#1 same sql error you said you would make a patch for. This error happens even if the user has their name filled in or not.
Invalid SQL:
SELECT * FROM user WHERE userid=;

#2 The files are stored out side the root


#3 Yes i did..

micheal332001 04-27-2011 05:09 PM

Quote:

Originally Posted by Enkrona (Post 2189211)
Hey thanks for the mod :D

Have you fixed the bug pertaining to this error yet?

This will be fixed maybe tomorrow or later tonight.

Cipher5 04-27-2011 11:51 PM

Nice cart,

I had a problem when checking out, I fill out my customer information and when I need to select my country, the dropdown don't work to select any country so I cant move on the the next step.

Also how can I give a member a free digital product without them going to the cart and buying it?

demo7up 04-28-2011 12:37 PM

i keep getting

Code:

demo7up, you do not have permission to access this page. This could be due to one of several reasons:

  1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

UPDATE: i have fixed this i have a custom admincp and the files were not in my custom admincp but rather the deafult one!
Also usergroup permissions we not set.

demo7up 04-28-2011 03:31 PM

I have swapped Featured and and Screenshot Tab locations..

I would like to know how to change this code

Code:

<a href="javascript:;" onmousedown="ShowScreenshoots('screenmyshootsshow');"><b>{vb:var vbphrase.microcart_screenshoots}</b></a>
to be fully expanded on page load instead of onclick? Any help is much appreciated.

AttalaEA 04-28-2011 05:41 PM

I got this message when i press the e-shop tab on my website:
Admin, you do not have permission to access this page. This could be due to one of several reasons:
1.Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2.If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

micheal332001 04-28-2011 06:25 PM

Quote:

Originally Posted by cheykawebdesign (Post 2189478)
Nice cart,

I had a problem when checking out, I fill out my customer information and when I need to select my country, the dropdown don't work to select any country so I cant move on the the next step.

Also how can I give a member a free digital product without them going to the cart and buying it?


you need to add the locations within the admincp for the users to select.

micheal332001 04-28-2011 06:26 PM

Quote:

Originally Posted by AttalaEA (Post 2189742)
I got this message when i press the e-shop tab on my website:
Admin, you do not have permission to access this page. This could be due to one of several reasons:
1.Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2.If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


have you set the usergroup setting for each usergroup.

micheal332001 04-28-2011 06:32 PM

Quote:

Originally Posted by demo7up@gmail.c (Post 2189700)
I have swapped Featured and and Screenshot Tab locations..

I would like to know how to change this code

Code:

<a href="javascript:;" onmousedown="ShowScreenshoots('screenmyshootsshow');"><b>{vb:var vbphrase.microcart_screenshoots}</b></a>
to be fully expanded on page load instead of onclick? Any help is much appreciated.

so when someone goes to view a product you want the screenshots to show before any thing else.
if so you will need to edit within the template microcart_view_product and change the java code to your needs.

juan71287 04-29-2011 11:39 AM

This looks freaking awesome, just what I been looking for....

Q1. Was that error mentioned above fix?
Code:

Hello, micheal332001

after clicking the edit invoice i got this error see below

atabase error in vBulletin 4.1.2:

Invalid SQL:
SELECT * FROM vb_user WHERE userid=;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Request Date : Tuesday, March 29th 2011 @ 11:24:29 PM
Error Date : Tuesday, March 29th 2011 @ 11:24:29 PM
Script : http://www.autorized.com/forum/admin...hp?do=invoices
Referrer : http://www.autorized.com/forum/admincp/index.php?do=nav
IP Address : xxx.xxx.xxx.xxx
Username : Raffaele
Classname : vB_Database
MySQL Version : 5.1.47-community-log

Also noticed that when you add all the data it does not have anything on location

is there a simple fix that i can do please advice.

Thank you,
Raffaele


Q2. Is this a FULL VERSION? Can I use all the features?

Thanks.

demo7up 04-29-2011 03:14 PM

Quote:

Originally Posted by micheal332001 (Post 2189763)
so when someone goes to view a product you want the screenshots to show before any thing else.
if so you will need to edit within the template microcart_view_product and change the java code to your needs.

I dont know java... :( i just want the cell to be expanded onload not onmouseclick

demo7up 04-29-2011 03:16 PM

also is there a way to display new products in a cms widget and is their anyway to add an rss feed to this?

micheal332001 04-29-2011 06:47 PM

Quote:

Originally Posted by juan71287 (Post 2189959)
This looks freaking awesome, just what I been looking for....

Q1. Was that error mentioned above fix?
Code:

Hello, micheal332001

after clicking the edit invoice i got this error see below

atabase error in vBulletin 4.1.2:

Invalid SQL:
SELECT * FROM vb_user WHERE userid=;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Request Date : Tuesday, March 29th 2011 @ 11:24:29 PM
Error Date : Tuesday, March 29th 2011 @ 11:24:29 PM
Script : http://www.autorized.com/forum/admin...hp?do=invoices
Referrer : http://www.autorized.com/forum/admincp/index.php?do=nav
IP Address : xxx.xxx.xxx.xxx
Username : Raffaele
Classname : vB_Database
MySQL Version : 5.1.47-community-log

Also noticed that when you add all the data it does not have anything on location

is there a simple fix that i can do please advice.

Thank you,
Raffaele

Q2. Is this a FULL VERSION? Can I use all the features?

Thanks.

Q1 the fix is ready but has not been uploaded just yet.
Q2 yes what is in the description for this product at the top of the page is what you can do with this free version.
The commercial version has alot more.

Quote:

Originally Posted by demo7up@gmail.c (Post 2190016)
I dont know java... :( i just want the cell to be expanded onload not onmouseclick

I dont have time to change this myself but im sure you could get someone on here to do it for you.

Quote:

Originally Posted by demo7up@gmail.c (Post 2190019)
also is there a way to display new products in a cms widget and is their anyway to add an rss feed to this?

This is being made but will take some time as im finishing some things off for the new commercial version of the cart.

micheal332001 04-29-2011 06:55 PM

Quote:

Originally Posted by Raffaele (Post 2179005)
Hello, micheal332001

after clicking the edit invoice i got this error see below

atabase error in vBulletin 4.1.2:

Invalid SQL:
SELECT * FROM vb_user WHERE userid=;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Request Date : Tuesday, March 29th 2011 @ 11:24:29 PM
Error Date : Tuesday, March 29th 2011 @ 11:24:29 PM
Script : http://www.autorized.com/forum/admin...hp?do=invoices
Referrer : http://www.autorized.com/forum/admincp/index.php?do=nav
IP Address : xxx.xxx.xxx.xxx
Username : Raffaele
Classname : vB_Database
MySQL Version : 5.1.47-community-log

Also noticed that when you add all the data it does not have anything on location

is there a simple fix that i can do please advice.

Thank you,
Raffaele:)

New files uploaded that should fix this problem.

juan71287 04-30-2011 01:26 AM

Were is the commercial version? How much is it?

micheal332001 04-30-2011 06:48 AM

Quote:

Originally Posted by juan71287 (Post 2190190)
Were is the commercial version? How much is it?

I cannot talk about the commercial version here or put the cost of it here.
Please visit my site totally-scripts.com and as any questions there.

Hendrizius 04-30-2011 01:53 PM

Get this error when installing. I had an internal server error on the first attempt.

"Database error in vBulletin 4.1.1:

Invalid SQL:
INSERT INTO `vb_microcart_product_types` SET id='1', name='Downloadable', shipping='0', downloads='1';

MySQL Error : Duplicate entry '1' for key 1
Error Number : 1062
Request Date : Saturday, April 30th 2011 @ 04:52:23 PM
Error Date : Saturday, April 30th 2011 @ 04:52:23 PM
Script : http://www.d3scene.com/forum/admcp28...=productimport
Referrer : http://www.d3scene.com/forum/admcp28...?do=productadd
IP Address : 134.76.62.210
Username : hendricius
Classname : vB_Database
MySQL Version : 5.0.51a-24+lenny5"

demo7up 04-30-2011 03:25 PM

Originally Posted by demo7up@gmail.c View Post

I dont know java... i just want the cell to be expanded onload not onmouseclick

I dont have time to change this myself but im sure you could get someone on here to do it for you.


Does anyone know how to make this change in Java since the developer doesnt want to help me.


All times are GMT. The time now is 06:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02265 seconds
  • Memory Usage 1,895KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete