vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - eCommerce for vB4.2.2+ (https://vborg.vbsupport.ru/showthread.php?t=316501)

TheAdminMarket 02-23-2015 06:08 PM

Quote:

Originally Posted by HM666 (Post 2538430)
Problem with the latest update. I have a weird lightbox that I have not asked for in the product page now after doing the update. I've attached a screen shot. Its an adult site so everyone is forewarned. Its all the way at the bottom. I do not understand why its there I have no images for this item.

Is better to give me the link to that page. Is this a product's page? Didn't understood anything from the screenshot other than the popup.

HM666 02-23-2015 06:10 PM

<a href="http://webdesignfetish.com/product/1/web-maintenance-bronze-plan/" target="_blank">http://webdesignfetish.com/product/1...e-bronze-plan/</a> here is the link. It shows at the bottom of the product pages.

TheAdminMarket 02-23-2015 06:25 PM

Quote:

Originally Posted by HM666 (Post 2538432)
http://webdesignfetish.com/product/1...e-bronze-plan/ here is the link. It shows at the bottom of the product pages.

1.- Right click is disabled and can't see the code.
2.- Also I can't see anywhere my copyright link

HM666 02-23-2015 06:36 PM

Quote:

Originally Posted by NickTheGreek (Post 2538434)
1.- Right click is disabled and can't see the code.
2.- Also I can't see anywhere my copyright link

I did not take out the copyright link. I installed it the way it came I have not edited the copyright link at all. Taht was there before i ungraded as well.

I disabled the product right click mod. Please try again.

Here is the bottom portion of the code for the main template the copyright stuff is still there.

Code:

<br />
<script type="text/javascript" src="ecommerce/jquery/skinable_tabs.min.js"></script>
<script type="text/javascript">
        $('.tabs_holder').skinableTabs({
                effect: 'basic_display',
                skin: 'skin4',
                position: 'top'
        });
</script>
<script type="text/javascript">
        $('.tabs_feedback').skinableTabs({
                effect: 'basic_display',
                skin: 'skin4',
                position: 'top'
        });
</script>
{vb:raw copyright}
{vb:raw footer}
</body>
</html>


TheAdminMarket 02-23-2015 06:48 PM

Quote:

Originally Posted by HM666 (Post 2538436)
I did not take out the copyright link. I installed it the way it came I have not edited the copyright link at all. Taht was there before i ungraded as well.

I disabled the product right click mod. Please try again.

It's missingg the file:
http://webdesignfetish.com/css/lightbox.css

But in general there are duplicated files. eg jquery, lightbox

HM666 02-23-2015 06:56 PM

I have lightbox already installed and working in another area of the site. I moved the files back where it should be and its the same result. And I added the code into my header for the lightbox stuff but I still have the same problem.

TheAdminMarket 02-23-2015 06:58 PM

Quote:

Originally Posted by HM666 (Post 2538436)
Here is the bottom portion of the code for the main template the copyright stuff is still there.

Sorry, I uploaded ver.1.8.4 instead 1.8.0
1.8.1+ versions are commercial, so please redownload the zip file and upload just the file:
ecommerce/functions.php

I believe that the page mess will goes out if you remove from ecommerce_view_product template the referrence for lightbox.

Tomorrow (now is 23:00pm here), I'll install this version to see if I've the same issue.

HM666 02-23-2015 07:06 PM

Well that fixed the link :) But i still have a randon ghost loading lightbox :(

TheAdminMarket 02-23-2015 07:12 PM

What I believe that messes your page is that you're calling:
Code:

<script src="http://webdesignfetish.com/js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="http://webdesignfetish.com/js/lightbox.min.js" type="text/javascript"></script>
<link href="http://webdesignfetish.com/css/lightbox.css" rel="stylesheet" />

most probably at headinclude template, but also:
Code:

<link rel="stylesheet" type="text/css" href="ecommerce/lightbox/lightbox.css" />
<script type="text/javascript" src="ecommerce/jquery/jquery-1.10.2.min.js"></script>       
<script type="text/javascript" src="ecommerce/jquery/jquery-ui.js"></script>
<script type="text/javascript" src="ecommerce/lightbox/lightbox-2.6.min.js"></script>

from my template. At least as I can see jquery version is different. If lightbox is also different then a mess is mostly possible.

HM666 02-23-2015 08:29 PM

I got this issue fixed. Thanks for your help Christos. :)

HM666 03-07-2015 06:55 AM

Where does the question go when someone asks a question? I cannot find the test question that I submitted anywhere and I did not get an email with it or anything like that. So how do I know when and what someone asked if I cannot get a notification of it?

TheAdminMarket 03-07-2015 10:16 AM

Quote:

Originally Posted by HM666 (Post 2539724)
Where does the question go when someone asks a question? I cannot find the test question that I submitted anywhere and I did not get an email with it or anything like that. So how do I know when and what someone asked if I cannot get a notification of it?

Hello Len,

It goes to: $vbulletin->options['webmasteremail'], so to the email address that you've set as Administrator.

An advice from my own experiance. Check your junk mails folder. At least for me all the emails coming from my site goes there as the IP was blacklisted. Now that I change provider I'm receiving them ontime.

HM666 03-07-2015 11:53 PM

Hi Christos, I get the email I had forgot to add the email account to my Thunderbird after a format and reload.

BenOwns 03-12-2015 02:52 AM

Hello,

I cannot get the paypal links to work.
I always get Invalid Redirect URL When trying to check out!

TheAdminMarket 03-12-2015 05:56 AM

Quote:

Originally Posted by BenOwns (Post 2540204)
Hello,

I cannot get the paypal links to work.
I always get Invalid Redirect URL When trying to check out!

Have you added https://www.paypal.com to the allowed redirection domains? There is a reply for this before.
Admincp-> Settings-> Options-> Site name / URL / Contact details
Add: https://www.paypal.com
To: Redirect Domain Whitelist

wootriffic 03-26-2015 06:54 PM

I've installed it, setup all the configurations i want, however its not showing on my navigation bar.
how do i go about adding this so i can click on the shop from the homepage?

TheAdminMarket 03-26-2015 07:05 PM

Quote:

Originally Posted by wootriffic (Post 2541616)
I've installed it, setup all the configurations i want, however its not showing on my navigation bar.
how do i go about adding this so i can click on the shop from the homepage?

Have you set usergroup permissions? If not, nobody can see the tab menu.

wootriffic 03-26-2015 07:25 PM

Quote:

Originally Posted by NickTheGreek (Post 2541617)
Have you set usergroup permissions? If not, nobody can see the tab menu.

that worked, been ages since i've used vb. feel like a noob all over again lol.

Johnny G 05-12-2015 11:58 AM

Christos, I've messaged you on your own forum. Can you pop a reply over to me please. Thanks.

akxt660 05-12-2015 05:41 PM

Hello!

It works with (http://www.correios.com.br) Brazil Delivery System?

SaN-DeeP 05-15-2015 07:01 PM

This shall be great if you are able to add few (atleast 3 or 5 live/working demo)..
Clients shall be appreciated by a linkback from this official site.. :)

Works great on test installation great work.

TheAdminMarket 05-16-2015 03:39 AM

Quote:

Originally Posted by akxt660 (Post 2545385)
Hello!

It works with (http://www.correios.com.br) Brazil Delivery System?

You can add any carrier data but manually. There is no API at all.

TheAdminMarket 05-16-2015 03:40 AM

Quote:

Originally Posted by SaN-DeeP (Post 2545584)
This shall be great if you are able to add few (atleast 3 or 5 live/working demo)..
Clients shall be appreciated by a linkback from this official site.. :)

Works great on test installation great work.

I don't know if I got your meaning but the demo is here:
DEMO: http://demo.teriakis.com/vb4x/cart.php

There are some products with 0 price so you can order one of them to check the client area.

tpearl5 06-17-2015 05:01 PM

believe you have a small bug in functions.php. Both instances of

"&currency_code=

should be

"&amp;currency_code=

Otherwise it turns into ¤cy_code because &curren; is the HTML code for ¤

TheAdminMarket 06-18-2015 04:24 AM

Quote:

Originally Posted by tpearl5 (Post 2548074)
believe you have a small bug in functions.php. Both instances of

"&currency_code=

should be

"&amp;currency_code=

Otherwise it turns into ?cy_code because &curren; is the HTML code for ?

Even if I do agree that the right syntaxt (for many reasons) is to use &amp; instead of &, your report is not valid in the links. Is valid (eg) when you're trying to "echo" something, but in links works fine.

Try it at: http://www.christeris.net/cur.php and you'll see that the link in your browser should be correct. Also this function is in use since my vbDigiShop for vB3 back to 2007 and never had any problem.

tpearl5 06-18-2015 01:09 PM

Also, there is a design flaw when a coupon or discount makes an item free. There is no way to check out and record the order.

tpearl5 06-18-2015 01:10 PM

Quote:

Originally Posted by NickTheGreek (Post 2548105)
Even if I do agree that the right syntaxt (for many reasons) is to use &amp; instead of &, your report is not valid in the links. Is valid (eg) when you're trying to "echo" something, but in links works fine.

Try it at: http://www.christeris.net/cur.php and you'll see that the link in your browser should be correct. Also this function is in use since my vbDigiShop for vB3 back to 2007 and never had any problem.

Maybe it depends on a server setting? No matter what I did it would come back with a malformed URL.

tpearl5 06-18-2015 04:01 PM

oh, and one last thing. secondary groups weren't working with item discounts. In cart.php I had to change instances of

in_array($vbulletin->userinfo['usergroupid'],

to

is_member_of($vbulletin->userinfo,

TheAdminMarket 06-18-2015 04:35 PM

Quote:

Originally Posted by tpearl5 (Post 2548137)
Maybe it depends on a server setting? No matter what I did it would come back with a malformed URL.

......hmmmmmmmmmm.......... What to say??...... There are some 100's using it (since 2007), all are accepting PayPal, and nobody had a problem to be redirecting to PayPal with the correct currency code (even me using non USD currency). But seems that all we have that "wrong" server setup.

TheAdminMarket 06-18-2015 05:14 PM

Quote:

Originally Posted by tpearl5 (Post 2548148)
oh, and one last thing. secondary groups weren't working with item discounts. In cart.php I had to change instances of

in_array($vbulletin->userinfo['usergroupid'],

to

is_member_of($vbulletin->userinfo,

Coupons and Discount Usergroups are not parts of my code. Have added by Michael and as I've wrote in the original thread of microCART, I'm letting them there "just in case".
Actually, I don't agree even with the way that coupons are working. It useless feature as they work.

tpearl5 06-19-2015 11:31 AM

Quote:

Originally Posted by NickTheGreek (Post 2548155)
Coupons and Discount Usergroups are not parts of my code. Have added by Michael and as I've wrote in the original thread of microCART, I'm letting them there "just in case".
Actually, I don't agree even with the way that coupons are working. It useless feature as they work.

That's okay. It actually works for what I'm doing, so I'm not complaining.

Any ideas on adding a field for "State" for the user info?

TheAdminMarket 06-19-2015 11:58 AM

Quote:

Originally Posted by tpearl5 (Post 2548199)
That's okay. It actually works for what I'm doing, so I'm not complaining.

Any ideas on adding a field for "State" for the user info?

State is "hidden" in locations. What I mean. As States can have different taxes/shipping you must add them in the Locations table (via Admincp). This way you can set different tax/shipping per state.

An example in case that you're working international:

Locations:
United States (Roor category)
--- Alabama
--- Alaska
....etc
Canada (Root category)
--- Ontario
--- Quebec
....etc

EDITED: Other than this, if you need seperate field, just rename the phrase "ecommerce_fax" from "Fax" to "State" and use that field.

Bastien 06-25-2015 06:02 PM

I have searched all the afternoon for a hack like this one !!!

Thank you for sharing, I try it asap. You save me a lot of time :up:

sadiq6210 06-25-2015 11:17 PM

Why I didn't see this mod before 6 months?! Maybe because of the new nickname
Nice to see you again and welcome back Chris

TheAdminMarket 06-26-2015 04:37 AM

Quote:

Originally Posted by sadiq6210 (Post 2548647)
Why I didn't see this mod before 6 months?! Maybe because of the new nickname
Nice to see you again and welcome back Chris

Nice to see you again Sadiq, my old friend :) How are you?

This mod was not here before 6 months. As you're old client you maybe remember that I gave microCART and microSUPPORT to another coder who finally left coding behind (at all... not just vB).

When I seen that many user where complaining for some small bugs I got it back and post a bug fix. Later on I decided to improve it by adding new features but I was unable to use the old thread I repost it with new name.

As for my old account, admins here refused to give me back my old account so I had to use a new one.

Christos

chikuru 06-29-2015 03:39 PM

How to setup the shipping fee? It doesnt appear in checkout or even in the cart, though i have selected my shipping location..

TheAdminMarket 06-29-2015 05:05 PM

Quote:

Originally Posted by chikuru (Post 2548946)
How to setup the shipping fee? It doesnt appear in checkout or even in the cart, though i have selected my shipping location..

AdminCP-> eCommerce-> Shipping Zones and Rates.
Then when you add a new location you can set which shipping to use for that location. The same applies for Tax.

chikuru 07-01-2015 12:48 PM

https://vborg.vbsupport.ru/external/2015/07/41.png

Still doesnt work.. Can you check? I can provide you admin login..

TheAdminMarket 07-01-2015 01:05 PM

PM Login details and the location for which you've set in the order and does not works.

TheAdminMarket 07-01-2015 01:07 PM

** IMPORTANT **
Also check that in General Setting "Enable Shipping" is active. By default is "No" so you must change it to "Yes".


All times are GMT. The time now is 08:08 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.01474 seconds
  • Memory Usage 1,840KB
  • 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
  • (3)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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