Shopping cart plugin

Discussion in 'Subrion CMS Plugins Discussion' started by Eleanna, Dec 9, 2014.

  1. Eleanna

    Eleanna Member

    Can anybody tell us when this will be ready? It is BADLY needed... Thanks.
  2. Vasily_B.

    Vasily_B. Project Manager

  3. Eleanna

    Eleanna Member

    Hi Vasily,

    thanks. It is however not installing properly. No access to set-up, so can't add products etc... Tried reinstalling a number of times, no joy. Installed it manually via ftp, same result, can't access setup...

    Attached Files:

  4. Vasily_B.

    Vasily_B. Project Manager

    Eleanna, please check Content section in admin dashboard. Here is what you should see when you install that plugin. No rush, see the notifications carefully.

    [​IMG]
  5. Eleanna

    Eleanna Member

    Ok, found it, thanks. And working! one observation. In the grid you have the headings "Reason", "Item", "ID" and "Total". It would seem that the "Reason" and "Item" labels need switching. On the site it shows the item name under "Reason" while "Item" says "Cart Purchase", which is the reson for payment.... What would also be handy for a future update is a "quantity for sale" field in admin, which reduces by the number of items purchased until it reaches "0" and then blocks further sales. The guys on taichiretreats.org sell places in a group which is limited to 25 participants. A simple "stock control" like that would prevent over-booking...
    And finally, these guys also use PayPal only as their payment gateway. Is there any way of making this the default gateway, meaning, having the radio button highlighted instead of making the user click it? Not vitally important, but a little simpler for the user. After all, we want to make it as smooth as possible for them to part with their money :D
    Last edited: Dec 10, 2014
  6. Vasily_B.

    Vasily_B. Project Manager

  7. Eleanna

    Eleanna Member

    Don't see a PayPal template anywhere. Or do you mean a template in the PayPal plugin? Which one?
  8. Vasily_B.

    Vasily_B. Project Manager

    I'm talking about plugins/paypal/templates/button.tpl, simply put checked for <input type="radio" name="payment_type" value="paypal" id="paypal"> control.
  9. Eleanna

    Eleanna Member

    ok, thanks.
  10. webowner

    webowner New Member

    Hi, very happy to see a Shopping cart plugin has been added.

    Please tell me, is this like WooCommerce for Wordpress? What is the differernce between yours and WooCommerce?

    Thank you!
  11. Eleanna

    Eleanna Member

    Not familiar with WooCommerce, but the Subrion shopping cart is very simple, ridiculously simple even. For us it's perfect, we only sell 1 product on that site, so no need for complicated bells and whistles stuff. And as you can see, they are planning to add a stock control feature to it, which will make it (almost) perfect. Haven't tested the new version for images yet, but in the previous version it was possible to add an image to the product description as well. A bit cumbersome, but doable. A simple image upload system, like used in the blog for instance would be ideal. Also need to see if it can be used for digital downloads, not sure about that one either. An simple image uploader and the ability to sell digital stuff would make it perfect for those of us with a small catalogue.
  12. webowner

    webowner New Member

    Hi Elenna, thank you so much for the reply. I wonder if you can send me your website URL so I can take a look and see if it will be perfect for my needs.

    Please PM me.

    If anyone else is familiar with WP WooCommerce > please let me know how Subrion Shopping Cart compares.

    Thanks so much.
  13. Vasily_B.

    Vasily_B. Project Manager

    @webowner welcome to our user forums.

    Well, it's definitely not worth comparing as our plugin is really simple and it is not a 100% complete ecommerce solution. The functionality is simple - you can create categories, you can create BASIC product (title, price, description). No images, nothing else. They are displayed on one Order page, and you can add paypal plugin to process these payments.

    How you can use it.
    Imagine you have tourist website where you offer guide tours for sale - you can create a product = tour and sell them online
    Or let's imagine you offer services like yoga trainer - you simply create a product like One time - set its price and sell it online

    Many ways actually, but no logistics functionality, etc. Simple as hell :) That's it. Item / sale.
  14. Eleanna

    Eleanna Member

    No images... check this out, as on http://taichiretreats.org/order which we are still testing.

    cart image.PNG
    As I said, t's not as straight forward as it could be, but it can be done.. This is how we got it in there

    <br>
    <img src="http://taichiretreats.org/uploads/site_logo_8288851dbd.jpg" alt="Tai Chi Retreats Logo" title="Tai Chi Retreats" class="clearfix">
    </br>

    As suggested, a little image uploader like in the blog plugin would do wonders for its functionality
    Last edited: Dec 12, 2014
  15. Eleanna

    Eleanna Member

    We need to link the shopping cart to an affiliate tracking program. This is done by adding a generic tracking pixel to the sales-confirmation page of the shopping cart. More specifically, we need to add the variable that contains the sub/total amount and the variable that contains the order number to the pixel, so that the system can allocate the right order and right amount to the affiliate.

    Am I right in thinking that the sales confirmation page is "post-processing.php" in the Paypal plugin, and that the variable containing the sub/total amount is in this line

    $order['payment_gross'] = $transaction['amount'];

    While the variable holding the order id is in this line

    $order['txn_id'] = $transaction['reference_id'];

    This is the line that needs adding to the sale confirmation page:

    <img border="0" src="http://www.taichiretreats.org/ideva...file=72198&idev_saleamt=XXX&idev_ordernum=YYY" width="1" height="1">

    XXX must be replaced with the amount variable and YYY with the order ID variable. The rest of the code is as it should be. Presuming I am right about "post-processing.php" being the sales confirmation page, can somebody help fill in the blanks here?

    What do I replace XXX with
    $order['payment_gross']
    or
    $transaction['amount']

    or do I put in the full line?

    Same question for YYY...

    thanks
    Eleanna
  16. Vasily_B.

    Vasily_B. Project Manager

  17. Eleanna

    Eleanna Member

    @Vasily_B. Thanks Vasily. I will give that a shot later, after morning coffee...:)
  18. Eleanna

    Eleanna Member

    Hi Vasily,

    this is not working. When I copy the purchase-post.tpl into my template folder, the transaction happens alright, but the redirect from paypal (after completing the purchase) to the sales confirmation doesn't function any longer. I get a white screen instead. and the commission is not allocated to the affiliate either. Maybe I do need to put it in post-processing.php after all? Or have you any other suggestions?
  19. Vasily_B.

    Vasily_B. Project Manager

    @Eleanna probably Janur made some changes in paypal plugin so it's not redirecting to the purchase tpl anymore. Let's wait for his comments on Monday.
  20. Eleanna

    Eleanna Member

    waiting is not my strongest point...:rolleyes: but I suppose I'll just have to... It would seem that the Generic Tracking Token code is the offending bit. As soon as I take this out again, the sale-confirmation screen does appear again. Unless I'm putting it in wrong? The code itself is correct, that I know for certain... Thanks for your help anyway. Enjoy the week-end.
    Last edited: Dec 13, 2014

Share This Page