JMC and Virtualmart

Neil J
Neil J
Offline
0
Hi,

The purpose of my new site will be a private sale of all my vinyl records.

Is there an easy way to combine JMC with Virtualmart? From what I can see, it looks like I would have to duplicate the entire JMC database for VM (which has already taken 9 months).

At the moment, I just have one Paypal 'Buy Now' button, but I would like to have 'add to cart' functionality, so that the buyer can select multiple items before checking out. The other functions of VM look nice too.

Neil
Responses (8)
  • Accepted Answer

    Sunday, September 27 2009, 08:51 AM - #Permalink
    0
    well, yes, you would have to duplicate all the items in virtuemart, Im afraid.

    however, I believe there's a button in PayPal to add items to a cart (I mean, not through virtuemart, but directly a button that paypal itself offers you), maybe you can integrate that button on the albums...that could be a solution for you?

    I'm not sure how it works, I'm gonna investigate a little bit and let you know if I find out.
    The reply is currently minimized Show
  • Accepted Answer

    Neil J
    Neil J
    Offline
    Sunday, September 27 2009, 04:40 PM - #Permalink
    0
    This is what I thought.

    I think I would have to do the same for the Paypal 'add to cart'. Ie one button coded for each and every record. :(

    Thanks for investigating for me.

    N.
    The reply is currently minimized Show
  • Accepted Answer

    Neil J
    Neil J
    Offline
    Monday, September 28 2009, 12:13 AM - #Permalink
    0
    I made an add to cart button as an experiment.

    Where in the JMC code do I need to add the button code for the URL view-listings?view=album&id=452 ?

    Neil
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 28 2009, 04:54 PM - #Permalink
    0
    components/com_muscol/views/album/tmpl/default.php

    I havent investigated yet, but I'm pretty sure you can achieve something quite satisfactory with this :)
    The reply is currently minimized Show
  • Accepted Answer

    Neil J
    Neil J
    Offline
    Wednesday, September 30 2009, 02:45 PM - #Permalink
    0
    Oooh I've got my investigation juices flowing now :)

    I see the approximate area where to add the button. I'm just wondering now, how and where to assign a different buy now button for each album.

    I have made a 'custom HTML' button for the album. I would need to do this 449 times (449 albums). Then I would need to be able to assign each different block to a variable, and call the correct button depending on the album being viewed. I would need to place the button directly under the album art and above the track list.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, September 30 2009, 02:53 PM - #Permalink
    0
    :)

    just a though: do you REALLY need to do this 449 times??!?! that dont sound very useful!! ;)

    can I see the code for the one of the buttons? probably we can automatize the task of creating buttons

    by the way, the button will be placed on /components/com_muscol/views/album/tmpl/default.php

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    Neil J
    Neil J
    Offline
    Wednesday, September 30 2009, 03:00 PM - #Permalink
    0
    You have mail.
    The reply is currently minimized Show
  • Accepted Answer

    Neil J
    Neil J
    Offline
    Friday, October 02 2009, 07:34 PM - #Permalink
    0
    I have found a way to make it work :)

    When you create a button on the Paypal website, an email link is also created. You can put this email link in the 'Buy button' properties and it works.

    N.
    The reply is currently minimized Show
Your Reply