View Full Version : Miscellaneous Hacks - CartPlog: The Lite PayPal Shopping Cart
calorie
08-01-2010, 10:00 PM
CartPlog: The Lite PayPal Shopping Cart
CartPlog Lite is a shopping cart for PayPal payments. CartPlog Lite allows for categories, products, and options, and it keeps track of transactions by utilizing the PayPal IPN interface. The installation takes care of phrases, templates, tables, etcetera. Just follow the README.txt file for installation.
CartPlog v.1.0.0. is here (https://vborg.vbsupport.ru/showthread.php?t=161010) and CartPlog v.2.0.0. is here (https://vborg.vbsupport.ru/showthread.php?t=247764). So what's new in CartPlog v.3.0.0?
This is the vB4 version with the CartPlog v.2.0.0 updates...
You can set different prices for each usergroup on a per product basis
You can select whether a product is active for certain usergroups
You can allow your shoppers to change the displayed currency
Guest shoppers can now view the cart without losing their session
Moving a product to a different category now updates correctly
Some code and template cleanup and organization was performed
Requirements: This version is for vB 4.x.x only.
Tested: vB 4.0.3 (but should work on other versions).
Does it work on all vB 3.x or 4.0? See the requirements.
There is a license agreement that I request that you abide. Thanks!
These are vB3 based screenshots. Please use your imagination for vB4.
https://vborg.vbsupport.ru/attachment.php?attachmentid=71453&d=1193229331
https://vborg.vbsupport.ru/attachment.php?attachmentid=71454&d=1193229345
https://vborg.vbsupport.ru/attachment.php?attachmentid=71455&d=1193229357
Fine Print: see license agreement, no redistribution, copyright retained in full, right reserved to uncheck support box.
smirkley
08-02-2010, 03:56 AM
Quick question...
Is this mechanism fully PCI-DSS compliant in how it handles transactions?
Thanks in advance.
calorie
08-02-2010, 04:06 AM
Shoppers are passed to PayPal to make payment, so you'll need to ask PayPal that question. This add-on does not collect credit card information, and PayPal does not share the shoppers' credit card information with you.
daveaite
08-02-2010, 05:59 AM
Great jobbbbbbbbbbbbbbbbbbbb
fernas
08-02-2010, 06:18 AM
It is possible to add another payment method as bank account (give to the user my bank account via PM or email)?
That would be just perfect.
Great Mod!!
daveaite
08-02-2010, 08:40 AM
Does the shop allow digital items for sale? Like downloads/pdfs immediately after download, or is it just physical items?
calorie
08-02-2010, 05:31 PM
Payment via PayPal is the only payment method available with this add-on, and items for sale via this add-on are meant to be physical goods, though this add-on could be modified to include whatever alternative options you wanted to add.
vlh00d
08-02-2010, 10:02 PM
1st page!
Great Mod
Boko577
08-03-2010, 05:13 AM
Doesn't work for me. I go to the url, and it doesn't come up...
deschutes
08-03-2010, 12:07 PM
Thank you!!!
Bluefin221
08-04-2010, 02:40 AM
Fantastic I have been waiting on this being updated, really pleased to see it works perfectly as well a flawless upgrade.
Can I ask how many products show on the cart homepage? If its every product is there a way this can be limited to a certain number?
smirkley
08-04-2010, 09:45 PM
I am in the process of planning for a commercial use vB, and I can see this a worthy system to enhance my efforts.
Does this system allow for limited quantities on each item number?
IE- if I have 5 in stock and available, and someone purchases three through paypal, does the item quantity on hand update to reflect this in the store via the paypal api or other automation?
KevinL
08-06-2010, 12:33 AM
Has anyone thought of trying to make a CMS Widget for this? I have been trying but I keep throwing a white screen..
andy1074
08-07-2010, 10:53 AM
this is the best
and thanks u and kiss u
andy1074
08-07-2010, 11:08 AM
Hello dear friend
I have a question, and I'm grateful if you help me
I wanted to know how I can I like a currency to the dollar program to add?
I live in Iran and I want to store the system with Iranian banks and currency (RLS) to launch
Please help me guidance
GeorgeB85
08-07-2010, 03:03 PM
Could this be used, just to simply upload docs to sell?
Idawg
08-07-2010, 09:20 PM
I just added a link from a tab and when someone clicks on it, it logs them out.. Is this my template, or others having this issue??
And if I just type in the url, I dont seem to have this issue
daveaite
08-07-2010, 09:31 PM
Could this be used, just to simply upload docs to sell?
Yep...Looking for this feature as well, might be easy to add to the plug-in using the attachment system?
AllenMead
08-09-2010, 08:39 PM
It's excellent to see this back with some great new features.. Would love to see afew little changes that would make it even better.
1. Different postage costs per usergroups
2. Several drop down options. For example 'Sizes' 'Colours'
3. The ability to be able to PM users when the product is shipped from the admin control
4. Auto thread creation when you add a new product
Just afew thoughts :)
D19RNY
08-12-2010, 02:04 AM
This addon is amazing thank you very much
Also if you are having trouble when entering the url make sure all the contents in the zip file are uploaded
Vaupell
08-13-2010, 06:04 PM
calorie (https://vborg.vbsupport.ru/member.php?u=35245) have i mentioned that i love you!!! :D
Thank you so much.. XoXo
Party time..
Martin.
benstillman
08-18-2010, 03:02 PM
calorie (https://vborg.vbsupport.ru/member.php?u=35245) have i mentioned that i love you!!! :D
Thank you so much.. XoXo
Party time..
Martin.
I'll ditto this.
wickedstangs
08-20-2010, 05:55 AM
Calorie, thank you been waiting for this...
Can you show me how to add a link? And thanks again.
TheLastSuperman
08-22-2010, 12:41 AM
* TheLastSuperman clicks Mark as Installed and thanks.... I would Ditto benstillman but my wife has already got onto me for goofing off in a post with Boofo the other day so :erm: but thanks for the update!
vividbreeze
09-13-2010, 12:01 PM
How can I get the pro version ?
wowheadtooltips
10-20-2010, 03:40 AM
I am going to take a look at the code to this and see about adding the ability for e-products/services.
cagbaazee
11-16-2010, 03:23 PM
When i install it. i donot find where is it. please discuss how to install it step by step
Thanks
preemz10314
11-28-2010, 09:56 PM
Installed and working nice with 4.0.7 nice.
preemz10314
11-28-2010, 09:59 PM
When i install it. i donot find where is it. please discuss how to install it step by step
Thanks
You just upload the files labeled admincp,images,includes..to your site as you would any other plugin. And then upload the cartplog.php into the root of your site, and import the xml then navigate to for example:
say your site is www.homefragg.com well after a successfull install go to www.homefragg.com/cartplog.php or www.homefragg.com/YOUR0FORUMSDIRECTORY/cartplog.php
it was actually pretty simple to install this,.
lol, i wish you have had stated that there would be a cartplog tab on the admincp..unless you did.. i facepalmed myself.
BluAzn
11-29-2010, 08:04 PM
I get an error saying payment cannot be completed due to incorrect email address. I have just checked the settings over many times and I done everything like you stated in the readme file.
gijsje
12-03-2010, 08:45 AM
can you change the paypal mail adddress?
CybaGirl
12-07-2010, 08:14 AM
First of all I would like to say thanks for this awesome mod :).
I have it installed and it seems to be working well in regards to adding categories and listing the items etc.
But there doesn't seem to be a tab added to the Nav Bar so you can access CartPlog and purchase items etc via it. I can access CartPog directly via the url though.
So can someone please tell me if this normal?
If this is indeed normal. Can someone please tell me how I go about adding a tab to the Navbar so people can access CartPlog from the Nav Bar?
Thanks.
Running v4.0.3 as well.
basilrath
12-07-2010, 09:03 AM
add a tab system (handy anyway)
https://vborg.vbsupport.ru/showthread.php?t=228507
Just add the link etc
CybaGirl
12-08-2010, 03:47 AM
Thanks!
Installed the "vBH-Add new tabs" mod now I can display the cart on the nav bar.
One question though.
Is there some way or something I can implement so that when you click on the thumb nail image in the store listing this image is then shown as a larger image?
Thanks.
betts02
12-08-2010, 10:04 AM
Installed this and just a few things wrong as i can see
No tab installed automatically
No option to view products via admin so to edit them
Can you please look into these ? Cheers
CybaGirl
12-08-2010, 08:37 PM
Installed this and just a few things wrong as i can see
No tab installed automatically
No option to view products via admin so to edit them
Can you please look into these ? Cheers
I don't think a tab is installed automatically as per my question above. What you need to do is install the "vBH-Add new tabs" mod as suggested by basilrath. Then you can add a tab to the nav bar.
To view and edit products via admin I found this a little confusing at first as there was no section to do this under the CartPlog drop down menu in the admin panel.
But you can view and edit the products easily enough by doing the following.
1. Log in to your admin panel.
2. Click on CartPlog menu.
3. Click on View Categories.
4. Under the Products heading on this page click on the number.
You will then be taken to where you can view and edit the product in question. I only have one product installed at the moment. So I am assuming to edit and or view other products they will be numbered in sequential order. So all you have to do is click on their associated number on this categories page.
:)
CybaGirl
12-10-2010, 04:37 AM
I have an issue when I click on the "Place Order via PayPal" button.
It comes up saying the following.
Error Detected
The seller accepts encrypted website payments only. You cannot pay the seller through un-encrypted buttons. Please contact your seller for more details.
Anyone know what this means or how I can fix it?
Thanks.
sonika
01-13-2011, 11:32 AM
I add Tab in Navbar while on click it gives error
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.
Last7Studios
03-15-2011, 04:48 PM
Hi,
This cart is great and does everything I need. But I am having a problems with permissions levels, I think. When a unregistered user comes to the site and goes to the cart the product images do not show up.
Can anyone help me with this
Thanks
lild100
07-27-2011, 05:15 PM
Is there a way to set, so if you only have 10 in stock.. when people buy,, lets say 10 people buy the product, the product says out of stock?
And also,, is there an option for sizes.. i.e. for tshirts you can have large/medium/small?
Thanks Team
Regards
Dan
geckoz
08-03-2011, 07:10 AM
What happens if somebody buys something? How can I set the page where they will be redirected to? Will I receive an email so that I know that somebody bought something? This mod needs an option to present the buyer a specific landing page with custom content.
PreciseDemise
08-15-2011, 07:44 PM
Has anyone else noticed you can't edit or delete Items in the "shop" just categories ..?
Martyn1983
08-15-2011, 08:16 PM
You can...
In AdminCp
Go into View Categories
Then search for the category your item is in. Click the NUMBER of items over on the right to correspond with the Category
Then you can click edit next to the item.
It's not as straightforward as it could be, but you definately can edit the items ;)
ctsolutions
10-28-2011, 12:40 PM
Just wonder where can I disable the shipping. By a sales from 10€ comes +9€ shipping. That's lol.
Any hint?
Thanks,
Mike
Okay, got it:
cartplog_view_cart
<input type="hidden" name="no_shipping" value="1" />
Great Mod, thanks
Scyther
11-07-2011, 08:24 AM
Well...i downloaded and installed it...but don't get the Cartplog option on Side Menu...
What might be wrong?
Scyther
11-07-2011, 08:30 AM
Sorry for the above post....got my way thru and it's installed and working fine..
Good Mod..marked installed...
Martyh
11-20-2011, 02:40 PM
Is there a method to send the customer directly to the view cart page ?
Reason - If I have only one product, I won't need to have them select anything or make any choices.
So going directly to the view-cart page with that product already in the cart would be desirable. Once there, they can select how many they want.
Actually there will be two items but they are bought at the same time, so I would need both to be in the cart with only the selection of how many they want of each left for them to do.
Is this possible ? thanks,
ctsolutions
12-10-2011, 09:07 AM
Hello, can you tell me if I made something wrong or is a little bug in the transactions view.
Total payment will be *10. That means 40.00 EUR x10 =4000.00
Total: 40.00 EUR
User Name: XXX
Session ID: cd44724b2efbcbdee28ccbc37a0f6900
Transaction ID: xxxxxxxxx10402W
Total: 4000.00 EUR
Status: Completed
Date: 04-12-2011
In which template can I modify?
Thanks
harm63
01-05-2012, 08:22 AM
Hello
dows any one know if i can set thumb bigger? or a mouse over for more detaild image??
the thumb is a litle small i think
can i add shiping cost? ( seperated)
thx
DeniDov
03-11-2012, 04:35 AM
For people trying to add a link on the navbar, here is a small help:
Log into your admin CP>
Plugins & Products>
Add new plugin>
Now..
Product: Leave vBulletin selected
Hook Location: Process_Templates_Complete
Title: E-Shop (or w.e you want)
Execution Order: Use this field to enter the order in which code at the same hook will be executed.
Plugin PHP Code:
$tabselected = '';
$tablinks = '';
if (THIS_SCRIPT == 'eshop')
{
$vbulletin->options['selectednavtab']='eshop';
$tabselected = ' class="selected"';
$tablinks = ' <ul class="floatcontainer">
<li><a href="link1.php">Link 1</a></li>
<li class="popupmenu">
<a href="javascript://" class="popupctrl">Drop Down</a>
<ul class="popupbody popuphover">
<li><a href="sublink1.php">SubLink 1</a></li>
<li><a href="sublink2.php">SubLink 2</a></li>
<li><a href="sublink3.php">SubLink 3</a></li>
</ul>
</li>
<li><a href="link2.php">Link 2</a></li>
<li><a href="link3.php">Link 3</a></li>
</ul> ';
}
$template_hook['navtab_end'] .= '<li'.$tabselected.'><a class="navtab" href="http://www.YOURFORUMURL.com/cartplog.php" target="">THE LINK TITLE FOR YOUR SHOP</a>'.$tablinks.'</li>' ;
Edit at the code end:
<a class="navtab" href="http://www.YOURFORUMURL.com/cartplog.php" target="">THE LINK TITLE FOR YOUR SHOP</a>'.$tablinks.'</li>' ;[/CODE]
mark it as ACTIVE, save, and done.
(Sorry if the code is too messy, i took it from google, thanks)
|Jordan|
03-12-2012, 09:58 PM
Anyone know if this supports paypal subscriptions?
anyone running it on 4.1.11?
attroll
03-25-2012, 02:57 PM
Very nice and easy to use product.
I find one thin annoying though.
Once I have created a product I see no way to go back in and edit it. I see the add function but how do I edit one that is already created?
Spacelabs
03-31-2012, 03:22 AM
Hi can this work on VB 4.1.11
CSS59
04-14-2012, 12:45 AM
Does this keep track of inventory? For example if I only have 10 items for sale, will it NOT let me sell more than 10?
s3ejm
04-17-2012, 06:18 PM
Ditto: Hi can this work on VB 4.1.11
ctsolutions
07-10-2012, 04:14 PM
Any ideas how can we extend the transactions view history, eventually mutiple page, because some older transactions are not visible anymore.
Thanks,
Mike
Idawg
08-04-2012, 02:27 PM
Coder last on April 2011
/Me thinks someone does not come back here to support??
*Uninstalls*
Gamelobby
01-17-2013, 01:47 AM
Is there any Shopping Cart mods on here that work for vB4.2 ??
Gamelobby
01-25-2013, 07:02 PM
Does anyone know of a good cart/store mod.? (paid or not)
I just installed vBShop only to realize you can't actually sell anything. lol
BenOwns
03-18-2013, 02:56 AM
Hey there,
i am trying to use the view transactions, but i am receiving nothing from it :/
Bounce
04-06-2013, 09:14 PM
Hi,
Excellent add-on...
Is there the ability in the options to add a text area where the user can enter text?
For Example:
Special Requirements
< user enters text>
Bounce
04-06-2013, 09:42 PM
Also can the thumbnail be clickable?
Thanks
TheLastSuperman
08-27-2013, 08:55 PM
Hi,
Excellent add-on...
Is there the ability in the options to add a text area where the user can enter text?
For Example:
Special Requirements
< user enters text>
Not without some modification to this mod however I edited my version replacing the add to cart and view cart w/ e-junkie links to my products and services so it can be customized but on the entry field comment, I'm utilizing the easy forms mod in conjunction with this - https://vborg.vbsupport.ru/showthread.php?t=234385
Also can the thumbnail be clickable?
Thanks
Edit template cartplog_view_item and find:
<vb:if condition="$cartplog['product_thumb']">
<img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" />
<vb:else />
<img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:stylevar imgdir_misc}/cartplog_no_image.gif" alt="" border="0" />
</vb:if>
Replace with:
<vb:if condition="$cartplog['product_thumb']">
<a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&cartplogproductid={ vb:raw cartplog.product_productid}"><img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" /></a>
<vb:else />
<a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&cartplogproductid={ vb:raw cartplog.product_productid}"><img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:stylevar imgdir_misc}/cartplog_no_image.gif" alt="" border="0" /></a>
</vb:if>
Also edit template cartplog_product_item and find:
<vb:if condition="$cartplog['product_thumb']">
<img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" />
<vb:else />
<img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:stylevar imgdir_misc}/cartplog_no_image.gif" alt="" border="0" />
</vb:if>
Replace with:
<vb:if condition="$cartplog['product_thumb']">
<a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&cartplogproductid={ vb:raw cartplog.product_productid}"><img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" /></a>
<vb:else />
<a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&cartplogproductid={ vb:raw cartplog.product_productid}"><img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:stylevar imgdir_misc}/cartplog_no_image.gif" alt="" border="0" /></a>
</vb:if>
See where I'm headed with this? ;) So basically check all templates for code similar to:
<img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" />
And replace with:
<a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&cartplogproductid={ vb:raw cartplog.product_productid}"><img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" /></a>
Tips:
- Making the picture large is fine, this way when they click it opens full size and cartplog will resize it to appear as a thumbnail regardless on the index, item view and other areas if you edit those as well.
- Make all images of products a square i.e. 600x600 pixels otherwise when it resizes the image may become distorted if for example it's 350x450 so basically no rectangular images.
BoostedK20
09-05-2013, 08:17 PM
I'm beginning to set this up. Install went very smooth, however I need both categories AND subcategories, and this doesn't seem to support this which is very surprising to me. I think this definitely has a lot of potential though. Can someone please help me out with creating subcategories?
RSC17
01-24-2014, 12:34 AM
Is there anyway to use a different paypal address with cartplog rather than the one associated to the forum?
RPSmedia
01-29-2014, 08:14 PM
wish there was an option to add shipping or did I miss it?
Alibass
03-25-2014, 06:25 AM
Anybody know how to get the shipping option to display on 4.2.2 PL1
Thanks
RSC17
04-14-2014, 10:22 PM
Is there anyway to use a different paypal address with cartplog rather than the one associated to the forum?
This.
ispots
11-20-2014, 01:15 PM
Love the product but having a few issues after install on 4.2.*:
1. Getting this message in my header:
Warning: Function eregi_replace() is deprecated in ..../cartplog.php on line 330
Warning: Function eregi_replace() is deprecated in ..../cartplog.php on line 397
2. I get this message when adding a product:
Warning: number_format() expects parameter 1 to be double, string given in ..../admincp/cartplogacp.php on line 275
Please help!
ispots
11-20-2014, 03:34 PM
FYI for anyone else having these issues on a 4.2.* install, I think I fixed them myself.
The first error is corrected by replacing the deprecated functions & syntax in 330 and 397:
Line 330: $cartplog['product_list'] = preg_replace(preg_quote('#</tr><tr>#'), '$', $cartplog['product_list']);
Line 397: $cartplog['popular_products'] = preg_replace(preg_quote('#</tr><tr>#'), '$', $cartplog['popular_products']);
The second error is corrected by replacing with this context in line 275 and 416:
$vbulletin->GPC['cartplogprice'][$ugid][$key] = (float) number_format($value, 2, '.', '');
and setting default values in lines 241 to 246 as this: value="0.00"
NOTE: If you delete values from the pricing the code will error out, but it actually still functions correctly. The solution is to always put "0.00" instead of "" in the fields. Someone who knows PHP better than I could probably write something quick to replace the null value when it's passed. I tried it quickly and had no luck.
I AM NOT A CODER - DON'T ASK ME HOW TO FIX ANYTHING ELSE. I'm a hack at best.
Idawg
05-15-2015, 10:28 AM
Will this work on 4.2.2 ???
pratul11
08-20-2020, 04:45 AM
Hi I am using vBulleting 4.2.5 and tried doing a test checkout using CartPlog. But it seems Add Cart button is not working properly because when I add the product in cart, it updates to zero product in cart. How to fix it?
Hostboard
12-17-2020, 03:32 PM
Hi I am using vBulleting 4.2.5 and tried doing a test checkout using CartPlog. But it seems Add Cart button is not working properly because when I add the product in cart, it updates to zero product in cart. How to fix it?
Uninstall and try:
https://vbulletin.org/forum/showthread.php?t=246427
Probably the lesser of the 2 evils...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.