Announcement

Collapse
No announcement yet.

Change destination of Send Mail

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change destination of Send Mail

    Hi,

    When an email is sent using the Send Mail form, the browser
    is sent back to the products page. What I would like to do
    is have it stay at the page in which the button was pressed
    (in this case, the View Cart page) or be able to redirect it
    to a different page. The reason for this is that I'm not using
    the Section (index) or sub-section pages; only the product pages.
    A lot of this appears to ocurr in the perl code, but that was something
    I planning to learn after this job is complete. Barring an answer to this
    query, I plan on removing the email button for now.

    Thanks in advance

    Al

    #2
    Hi there

    I will ask development on how to do this, it will require a change within the MailForm.pl file in your site1 folder. I will post here once i have found the information.

    Kind Regards
    Nadeem Rasool
    SellerDeck Development

    Comment


      #3
      Hi there

      Got some information back from the development team. Here is what they had written:

      The standard rule we use for bouncing back is to bounce back to the last
      'shop page' which is defined as any non-script file. This is why it does
      not bounce back to the cart.
      To specify a specific destination...

      Edit MailForm.pl
      Search for 'GetLastShopPage', you should see the line...

      Code:
      $::g_sContentUrl, $::g_pSetupBlob, $::Session->GetLastShopPage(), \%::g_InputHash,
      replace this with...

      Code:
      $::g_sContentUrl, $::g_pSetupBlob, "http://myserver.com/acatalog/page.html", \%::g_InputHash,
      Replace http://myserver.com/acatalog/page.html with the URL of the page to
      bounce to.

      Kind Regards
      Nadeem Rasool
      SellerDeck Development

      Comment


        #4
        Hi Nadeem,

        As many have said about this forum, it is quite good. One of the reasons I'm dropping my current cart is due to lack of support. When I saw only 30 days support for this software, it took me a month to decide to purchase it and I did look around first. I think I checked over 300 sites before I decided. Most forums are not that good, but this one is exceptional. Thanks for this and all of your answers.

        Al

        Comment

        Working...
        X