Ticket #16818 - Amp module causing problems with the number of products added to cart

Hello,

I had an issue with the number of products added to the cart using AMP plugin and thought it was resolved.

The site is live for 3 days and the issue occurred Saturday 15th February.

Can you please look it over up?

We may be losing customers because of this issue.

Have a great day

Comments

Fred 15 Feb 2020, 10:51

I just added 1 and three products with no problems https://take.ms/nrRX1

Mitran Constantin Bogdan 15 Feb 2020, 10:58

I understand Fred, but my client sent me messages from people that had this problem on the website.

Can we please keep this ticket open in case this happens today or tomorrow tomorrow?

Thanks

Fred 15 Feb 2020, 11:03

Of course. Just show me a problem and I'll try to solve it as soon as possible

Mitran Constantin Bogdan 16 Feb 2020, 20:16

Hello Fred,

My client indicated that the issue with the number of products added to the cart is still occurring.

She just entered the website and her cart that is shown on the right down side of the screen is showing 102 products.

When she pressed the icon cart, there where no products in the cart.

She sent me some screen shots.

Can you please look into this?

Other clients have complained about this and the number of sales today has been pretty low compared to the yesterday.

Thanks

Attachments:

Fred 16 Feb 2020, 20:24

Please update fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office

Mitran Constantin Bogdan 16 Feb 2020, 20:26

I updated the fields.

Fred 16 Feb 2020, 20:31

Please check out our Troubleshooting page http://alysum5.promokit.eu/promokit/documentation/amp/troubleshooting.html what is related to the cart

Mitran Constantin Bogdan 16 Feb 2020, 20:37

I will check them and get back to you.

Mitran Constantin Bogdan 17 Feb 2020, 09:36

Hello Fred,

I checked every item from the troubleshooting page you sent me.
Everything seems to be ok.
How can I change the URL maddiva.ro/mobile to maddiva.ro when using the AMP module?
It seems to be affecting the invoicing software.

Thanks

Fred 17 Feb 2020, 10:33

Unfortunately, there is no way to remove the suffix "mobile", you can only change it

Mitran Constantin Bogdan 17 Feb 2020, 10:35

I understand.

Can you help me implement the google analytics tag into the amp module?

Fred 17 Feb 2020, 16:12

I need to update your AMP module to the latest version to give you an Google analytics option

Mitran Constantin Bogdan 17 Feb 2020, 16:15

Can you please do it after 22:00PM Bucharest time?

Will the update cause other bugs in the website?

Fred 17 Feb 2020, 16:24

Yes, I can.
Latest version works stable

Fred 17 Feb 2020, 22:02

AMP module has been updated

Mitran Constantin Bogdan 18 Feb 2020, 14:07

Thanks Fred.

I some other issues I want to discuss.

1. We have an issue with the invoicing module called smart bill after enabling the AMP module. The module is connecting with Prestashop through its API and it's not working anymore. The person from the smart bill support said that the problem might be caused by a plugin. Can you help me?

Fred 18 Feb 2020, 22:22

Any third party module is not compatible with AMP by default. To make it work with AMP we have to extend AMP module what requires some time.

Mitran Constantin Bogdan 19 Feb 2020, 06:52

How much time would it take?

Fred 19 Feb 2020, 10:03

Unfortunately, we don't have time for custom works now

Mitran Constantin Bogdan 19 Feb 2020, 13:42

Ok.

Can you help me please with some customizations on the website?

1. I want to change the color of the categories from the menu: Colectia noua(#dc1313), and Reduceri(#dc1313).

2. Is it possible to add some categories in the footer with a Accordion?

Thanks.

Attachments:

Fred 20 Feb 2020, 10:27

1. You can use Developer Tools of your browser to find our the code you need to change https://take.ms/UyfWN

#selector-menu h4 {color:red}

2. Check out AMP documentation http://alysum5.promokit.eu/promokit/documentation/amp/footer.html

Mitran Constantin Bogdan 20 Feb 2020, 10:32

1. I know I can use the Developer Tools to change the color. I want to change the color for only two links the links, The first link (Colectia noua) and the last link(Reduceri).

2. I will use the AMp documentation to insert the categories in the footer.

Thanks

Fred 20 Feb 2020, 10:34

try this

#selector-menu .section-wrap section:nth-child(2) > h4 {color:red}
Mitran Constantin Bogdan 20 Feb 2020, 10:37

Thanks,

It works like a charm.

You rock

Fred 20 Feb 2020, 10:38

you are welcome

Mitran Constantin Bogdan 26 Feb 2020, 10:57

Hello Fred,

I have some issues with the AMP module I want to address:

1. The google analytics code isn't working on the https://maddiva.ro/mobile. Only the Google Ads Conversion Tracking tag is working.

You can use the Google Tag Assistant Chrome extension to verify what I am saying.

Thanks

Attachments:

Fred 26 Feb 2020, 12:15

Please update Back office URL in your profile https://support.promokit.eu/index.php?do=myprofile

Mitran Constantin Bogdan 26 Feb 2020, 12:16

It's updated.

Are you going to do any updates to the module?

Mitran Constantin Bogdan 26 Feb 2020, 12:26

I also cannot view any product on the desktop version on the website.

Can you please look into this?

Attachments:

Fred 26 Feb 2020, 14:20

1. AMP google analytics configured exactly like described in the official documentation https://take.ms/d4ePU

2. But I see the content now in your front page

Mitran Constantin Bogdan 26 Feb 2020, 14:22

I can see the content on the front page, but cannot see the content if I click on a product or banner.

Can you please look into this?

Fred 26 Feb 2020, 14:24

all was fine recently, what did you do before? if you have a backup please restore it

Mitran Constantin Bogdan 26 Feb 2020, 14:27

I just changed the header and added google analytics script in layouth-both-columns.tpl from /themes/alysum/templates/layouts, before the closing </head> tag, because the google analytics module isn't working and my customer needs the data from analytics.

Fred 26 Feb 2020, 16:35

Have you tried to remove your code? Maybe that is a reason of your problem

Mitran Constantin Bogdan 26 Feb 2020, 17:00

Can you please look into the developer console after you clicked on a product?

There are errors there that might help you with the solution for the issue.

I will remove the code also.

But what kind of solution can you offer me implement Google analytics into the desktop version of the website?

Maybe if I update prestashop to the latest version, some issues will be fixed?

Will updating prestashop to the newest version break some theme functionality?

Thanks

Fred 26 Feb 2020, 19:17

Give me your analytics code and I'll add it for you

Mitran Constantin Bogdan 26 Feb 2020, 19:30

Google Ads Code

<!-- Global site tag (gtag.js) - Google Ads: 669665833 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-669665833"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'AW-669665833');
</script>

Google Analytics Code

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-157521222-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-157521222-1');
</script>

Facebook pixel code


<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '194405738584295');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=194405738584295&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->

Thanks a lot, you are the greatest.

Mitran Constantin Bogdan 27 Feb 2020, 11:34

Hello Fred,

I still keep getting errors when I try to click on a product from the home page on the desktop site.

Can you please look?

Attachments:

Fred 27 Feb 2020, 12:11

I have added a code into the file /themes/alysum/templates/_partials/headr.tpl
As for another issue. I'm sure that is not theme's problem, but a problem of your prestashop configuration.
Do you have a backup to restore working version of website?

Mitran Constantin Bogdan 27 Feb 2020, 12:13

I am sorry but I have an old backup of the website and I am afraid I could break it if I restore the backup with that.

Can you please look at the errors in the console to be sure that the errors are not from the theme?

Fred 27 Feb 2020, 12:41

I know about console, and I see those errors but that doesn't help me at all.
I can try to figure out what's wrong, but if that is not theme's problem I ask a price for the time I'll spent on that