vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - CartPlog: The Lite PayPal Shopping Cart (https://vborg.vbsupport.ru/showthread.php?t=247779)

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

Code:

<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:

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?

ywwz 03-19-2012 08:27 AM

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

Quote:

Originally Posted by Bounce (Post 2414809)
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

Quote:

Originally Posted by Bounce (Post 2414814)
Also can the thumbnail be clickable?

Thanks

Edit template cartplog_view_item and find:

Code:

                        <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:
Code:

                        <vb:if condition="$cartplog['product_thumb']">
                                <a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&amp;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&amp;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:
Code:

        <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:
Code:

        <vb:if condition="$cartplog['product_thumb']">
                <a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&amp;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&amp;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:
Code:

<img style="{vb:raw vboptions.cartplog_thumbcss}" src="{vb:raw cartplog.product_thumb}" alt="" border="0" />
And replace with:
Code:

<a href="cartplog.php?{vb:raw session.sessionurl}do=viewitem&amp;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

Quote:

Originally Posted by RSC17 (Post 2476389)
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:
Quote:

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:
Quote:

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:
Quote:

$cartplog['product_list'] = preg_replace(preg_quote('#</tr><tr>#'), '$', $cartplog['product_list']);
Line 397:
Quote:

$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:
Quote:

$vbulletin->GPC['cartplogprice'][$ugid][$key] = (float) number_format($value, 2, '.', '');
and setting default values in lines 241 to 246 as this:
Quote:

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

Quote:

Originally Posted by pratul11 (Post 2603769)
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...


All times are GMT. The time now is 06:38 AM.

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.01796 seconds
  • Memory Usage 1,828KB
  • 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
  • (8)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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