Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Show message when product added to cart

    Hello!

    I thought I could use the messagestack to show another message when customer adds product to cart, but nothing exept the messagestack-message appears.

    What I want to do:

    I want to use cross-sell-module, to show related product when customer have added product 1 in cart, at the same time he gets the "Product added to cart message".

    What is statement could I use to do this?

  2. #2
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Show message when product added to cart

    I found a solution, although it's not very good, but it works..

    PHP Code:
    <?php
    if ($flag_show_product_info_in_cart_qty == and $_SESSION['cart']->in_cart($_GET['products_id'])) {
    echo 
    "Message when product in cart!";
    }
    ?>

    I would wish someone could help me still though - because I just want to place the message ONCE, and not all the time while the products is in the cart.

    Anyone?

  3. #3
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Show message when product added to cart

    Have you looked to see if any of the Cross Sell mods can do this for you?

    -lindasdd

  4. #4
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Show message when product added to cart

    As I said, I will be using a cross-sell mod, but I want to show the cross-sells mod's content underneath the line that says "Product added to cart"...

    But never mind, I found a way, and it's working good!

    Thank you anyway! :)

 

 

Similar Threads

  1. v151 Can't get added fields to show on product page when I could in version 1.3.9h
    By lruskauff in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Jan 2014, 08:21 PM
  2. Replies: 5
    Last Post: 6 Sep 2013, 12:02 AM
  3. v150 Page layout when product added to cart
    By Dtrain in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 May 2012, 07:06 AM
  4. text attribute price isn't added to overall price when product added to cart
    By grossd in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 13 Nov 2011, 07:44 PM
  5. Substract product quantity when added to cart
    By orange_juice in forum Managing Customers and Orders
    Replies: 4
    Last Post: 18 Mar 2010, 11:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg