X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   Pop-up Anywhere module released (https://forum.x-cart.com/showthread.php?t=66512)

candc 08-05-2013 07:17 AM

Re: Pop-up Anywhere module released
 
Has anyone managed to get a pop up to show on the checkout page itself?

I have it on register, login, view cart, contact us etc but not in checkout.

We do have Altered Cart OPC, but have also tried with fastlane and xcart OPC.

This is what we have used for the pop to show on.

cart.php;login.php;register.php;help.php

Thanks for any pointers :D

karina 08-06-2013 01:34 AM

Re: Pop-up Anywhere module released
 
Quote:

Originally Posted by candc
Has anyone managed to get a pop up to show on the checkout page itself?

I have it on register, login, view cart, contact us etc but not in checkout.

We do have Altered Cart OPC, but have also tried with fastlane and xcart OPC.

This is what we have used for the pop to show on.

cart.php;login.php;register.php;help.php

Thanks for any pointers :D


I've failed to reproduce the issue on my default installation (X-Cart Gold v4.4.4, 2-columns skin). Could you please specify which skin do you use?
If your store uses 3rd-party skin it can be required to add the following code to the template:
Code:

{if $active_modules.Popup_Anywhere}
  {include file="modules/Popup_Anywhere/popups.tpl"}
{/if}

(by default this code is added to the 'customer/content.tpl' file for all skins: 'skin/books_and_magazines/customer/content.tpl', etc).

Is the issue reproduced with the default X-Cart skins (like 2-columns)?

candc 08-06-2013 01:43 AM

Re: Pop-up Anywhere module released
 
Hello Karina,

Thanks very much for checking, we are using the Ability template.

That code is already in the content.tpl file for the skin.

I havn't tested it on a default install yet.

karina 08-06-2013 04:28 AM

Re: Pop-up Anywhere module released
 
Quote:

Originally Posted by candc
Hello Karina,

Thanks very much for checking, we are using the Ability template.

That code is already in the content.tpl file for the skin.

I havn't tested it on a default install yet.


As I understand popups are working correctly on other pages, but not working on the 'cart.php?mode=checkout' page only. I'm not familiar with the Ability template but it's possible that another file is used for checkout page, not 'content.tpl'. So it may be required to find this file and add the same code from my previous message to it.

candc 08-06-2013 05:12 AM

Re: Pop-up Anywhere module released
 
Yes everything else is working fine Karina.

Must be related to the skin somehow, thanks again.

UMI Pearls 08-18-2013 04:49 AM

Re: Pop-up Anywhere module released
 
I am not sure if this was already asked, but can we customize the look of the popup? like instead of squares or rectangle we'll use circle and transparencies?

tia

ADDISON 08-18-2013 05:53 AM

Re: Pop-up Anywhere module released
 
I guess it is on the way to be included in the next versions. Also many other features, like hiding but keep visible. Actually those rectangles are not looking good, but they can be customized easy via CSS.

karina 08-19-2013 05:10 AM

Re: Pop-up Anywhere module released
 
Quote:

Originally Posted by UMI Pearls
I am not sure if this was already asked, but can we customize the look of the popup? like instead of squares or rectangle we'll use circle and transparencies?

tia


You can create popup based on custom template and use your own CSS styles to make any shape you want in the current version of the module.

Below is the small tutorial 'How to make circle popup':

1. Log in as administrator, open Content -> Edit templates page and open 'skin/common_files/modules/Popup_Anywhere/custom_templates' directory.

2. Create new tpl file, let's call it 'circle_sale_info.tpl'. And edit this file by adding the following content:
Code:

{*
v1, 2013-08-19 11:52:57, custom_circle.tpl, karina
vim: set ts=2 sw=2 sts=2 et:
*}
<link href='http://fonts.googleapis.com/css?family=Handlee' rel='stylesheet' type='text/css'>
<style type="text/css">
{literal}
  .popup-anywhere.ui-dialog {
  width: 350px !important;
  height: 350px !important;
  background: #FE642E;
  -moz-border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  border-radius: 50% !important;
  }

.popup-circle-content {
  padding-top: 35px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  font-family: 'Handlee', cursive;
  font-size: 26px;
  text-shadow: 1px 1px 1px #F3F781;
  font-weight: bold;
  line-height: 40px;
  color: #585858;
}

span.dates {
  font-size: 18px;
}

.popup-circle-content .popup-btn-close {
  position: relative !important;
  top: 0px !important;
  right: 0px !important; 
}

.popup-circle-content .title {
  font-weight: bold;
  font-size: 16px;
  border-bottom: 1px solid #CCCCCC;
  padding-bottom: 10px;
}

.popup-circle-content a {
  color: #585858;
  font-size: 24px;
  text-shadow: none;
  text-decoration: none;
}

.popup-circle-content a:hover {
  text-shadow: 1px 1px 1px #F3F781;
}
{/literal}
</style>


<div style="display:none">

  <div id="dialog-{$popup_id}" title="">
    <div class="popup-circle-content">
      OUR<br />GREAT SUMMER SALE<br /> IS STARTED!<br /><br />

      <span class="dates">AUGUST 20TH - 28TH</span><br /><br />

      <a href="on_sale.php">START SHOPPING</a>
    </div>
  </div>

</div>


(please, note '<div style="display:none">' and '<div id="dialog-{$popup_id}" title="">' are mandatory blocks)

3. Save new template.

4. Open Content->Pop-ups management page and add new pop-up.

5. Configure 'General pop-up settings' section as you wish.

6. In the 'Configure pop-up content' choose 'Pop-up content is defined in the template' option and select 'circle_sale_info.tpl' in the selector.

7. Configure other popup settings as you wish. I've defined popup location as 'In the center of window'.

8. Save pop-up settings and open customer area to check pop-up.

The popup created by this way will look like this:
http://dev.qtmsoft.com/~karina/images/popup_anywhere_customer_popup_circle.png

Niro 09-02-2013 10:03 AM

Re: Pop-up Anywhere module released
 
Hi!
Can anyone tell me why I can't see my installation page agreement and left navigation: http://www.greensneakers.com/install-popup-anywhere.php

x-cart version 4.4.5
pop-up anywhere version 4.4.5

I checked all the uploaded files and the permissions.

Thanks,
Niro

karina 09-04-2013 01:29 AM

Re: Pop-up Anywhere module released
 
Quote:

Originally Posted by Niro
Hi!
Can anyone tell me why I can't see my installation page agreement and left navigation: http://www.greensneakers.com/install-popup-anywhere.php

x-cart version 4.4.5
pop-up anywhere version 4.4.5

I checked all the uploaded files and the permissions.

Thanks,
Niro


Hi Niro,

I've checked your page and according to the code it's not loaded fully. But the reason of it is not clear for now. The module doesn't have any special system requirements other than X-Cart system requirements.
This first page of installation process is common for all modules, have you ever faced the same issue while installing other modules for this store? Can you try to open any other install-<module-name>.php?

Kind regards,


All times are GMT -8. The time now is 03:55 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.