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 05-22-2013 04:15 AM

Re: Pop-up Anywhere module released
 
Struggling a bit with this one, can't seem to get it to work.

Has anyone installed this on 4.4.4 by any chance, or are there any differences when installing on 4.4.x?

Thanks :-)

karina 05-22-2013 04:41 AM

Re: Pop-up Anywhere module released
 
Quote:

Originally Posted by candc
Struggling a bit with this one, can't seem to get it to work.

Has anyone installed this on 4.4.4 by any chance, or are there any differences when installing on 4.4.x?

Thanks :-)


Does the problem related to administrator area or customer?

If it's about customer area and your store uses 3rd party skin it's required to patch its files manually. The instructions of how to do it is available in the module manual 'How to patch a 3rd party skin'

If it doesn't help can you please check your logs (<xcart_dir>/var/log/x-errors_php_<current_date>.php). Are there any errors related to the module?

candc 05-22-2013 06:26 AM

Re: Pop-up Anywhere module released
 
Thankyou Karina,

Nothing in admin or customer, no errors in our logs.

I have already checked the manual, and manually patched the /common files/

I will double check it all again, probably missing something.

We dont have this module though
./modules/Add_to_cart_popup/product_added.js.patch

karina 05-22-2013 06:59 AM

Re: Pop-up Anywhere module released
 
Quote:

Originally Posted by candc
Thankyou Karina,

Nothing in admin or customer, no errors in our logs.

I have already checked the manual, and manually patched the /common files/

I will double check it all again, probably missing something.


I have a look at your store and it seems that js file was patched correctly. I see the js-code for the module.
I would also suggest to check following:
1. Required popup is enabled (Enable = Yes) in admin area 'Pop-ups management' page.
2. Popup is configured correctly: check 'Popup will be shown on pages with URL' and 'Popup will not be shown on pages with URL' settings.

If it still doesn't work, just post a new ticket via HelpDesk and we will try to sort it out for you.


Quote:

Originally Posted by candc
We dont have this module though
./modules/Add_to_cart_popup/product_added.js.patch


The 'Add to cart popup' module is available still 4.5.3. So it's OK that your store doesn't have it. It doesn't affect Pop-up Anywhere functionality.

candc 05-22-2013 07:06 AM

Re: Pop-up Anywhere module released
 
Thankyou for your help Karina,

I have rerun the installation and rechecked all the manual patches were ok.

There is now a popup so something wasnt quite right :D

Just need to work out how to get the coupon code displayed for the Facebook like and check the other options out.

Getting there now.

candc 05-22-2013 07:49 AM

Re: Pop-up Anywhere module released
 
I am finding the Facebook popup still continues to appear after you have clicked to like.

The demo site is the same for me, should it not stop appearing?

karina 05-22-2013 09:37 AM

Re: Pop-up Anywhere module released
 
Quote:

Originally Posted by candc
I am finding the Facebook popup still continues to appear after you have clicked to like.

The demo site is the same for me, should it not stop appearing?


Please change the settings of the pop-up: set 'Pop-up will be shown:' to 'One time per N days' instead of 'Every time page is load'.

I've also changed this settings on the demo store.

beetlejuice 05-28-2013 11:41 PM

Re: Pop-up Anywhere module released
 
Looks like a great addon Karina but I would like to see the option if it is possible, to have the pop-up appear when a word, sentence or paragraph is highlightedin the description area of a product.

beetlejuice

kevinrm 05-29-2013 01:58 AM

Re: Pop-up Anywhere module released
 
Having a rather interesting problem with this mod. My shop is based on the Japanese yen. I have the multi-currency mod installed. The Japanese yen does not have a decimal mark on it's prices. If I want to give a fixed discount of say, ╔200 yen, it will not accept the "╔" mark as valid and returns a blank field. It will only accept the "$" mark despite my cart currency being in Japanese yen. Likewise, it won't accept just "200" or "200.00". If I put $2 (approximate equivalent of ╔200 yen), I believe when the discount is given it will only give ╔2 instead of ╔200. So how can I make this discount fixed at ╔200? It won't accept that yen symbol.

karina 05-30-2013 04:02 AM

Re: Pop-up Anywhere module released
 
1 Attachment(s)
Quote:

Originally Posted by kevinrm
Having a rather interesting problem with this mod. My shop is based on the Japanese yen. I have the multi-currency mod installed. The Japanese yen does not have a decimal mark on it's prices. If I want to give a fixed discount of say, ╔200 yen, it will not accept the "╔" mark as valid and returns a blank field. It will only accept the "$" mark despite my cart currency being in Japanese yen. Likewise, it won't accept just "200" or "200.00". If I put $2 (approximate equivalent of ╔200 yen), I believe when the discount is given it will only give ╔2 instead of ╔200. So how can I make this discount fixed at ╔200? It won't accept that yen symbol.


Kevin, thank you for informing me about this issue.

The issue is related to vizualization of the coupon discount, the coupon is generated with the right discount.
I've applied the changes to 'skin/common_files/modules/Popup_Anywhere/predefined/social_plugin.tpl' to fix the issue, the updated version is attached.

Please, note, the '$' sign on the popup settings page in admin area is required to specify that it's 'absolute' discount. It's not possible to define absolute discount in any certain currency. The coupon is generated in primary currency of the store.

Please, follow this instruction to fix the issue on your store:
1. Upload modified file 'social_plugin.tpl' to <xcart_dir>/skin/common_files/modules/Popup_Anywhere/predefined/ directory.
2. Specify coupon discount as '$200' if yen is your primary currency or as '$2' if USD is your primary currency.

I've tested modified file on my dev installation X-Cart 4.5.5 Gold Plus (X-Multicurrency is enabled) with 'Yen' as primary currency. Coupon discount for Facebook Like is specified as '$200'. Pop-up shows me the following text:
1. If 'USD' is choosen in customer area:
"JOIN US ON FACEBOOK AND ENJOY $2.00 OFF YOUR NEXT ORDER"
2. If 'Yen' is choosen in customer area:
"JOIN US ON FACEBOOK AND ENJOY ╔200.00 OFF YOUR NEXT ORDER"

If you have any questions please feel free to ask.


All times are GMT -8. The time now is 06:11 AM.

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