Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Updation in producttooltip.php#6

Open
deepankar321 wants to merge 4 commits into
PrestaShop:devfrom
deepankar321:dev
Open

Updation in producttooltip.php#6
deepankar321 wants to merge 4 commits into
PrestaShop:devfrom
deepankar321:dev

Conversation

@deepankar321
Copy link
Copy Markdown

[+] MO : in producttooltip module we can see number of cusomers who added product to a cart

hey,
here i have added one more configuration in this file to show number of people added product on their cart and how many people watching this at that moment . it will be helpful to show product popularity direct to customer .
i have mentioned " /*added by me */ " comment whereever i have changed the code.
@maximebiloe
Copy link
Copy Markdown
Contributor

Hello,

Thanks for your contribution.
In order to merge your PR, could you remove all the comments you've added, please ?
Also, on line 180, are you sure you want to use 'date_addPS_PTOOLTIP_DATE_CART' and not 'date_add' ?

Could you make the modifications and update your PR, please ?

Best regards

producttooltip now can show number customer who have added particular product in their cart through this updation.

Thanks & Regards,
Deepankar
@deepankar321
Copy link
Copy Markdown
Author

Hello ,
Thanks for reply.
I have recently modified this file and deleted all comment added by me and yeah that was mistake ('date_addPS_PTOOLTIP_DATE_CART') , actually it is only 'date_add'

Best Regards.

@maximebiloe
Copy link
Copy Markdown
Contributor

Hello,

There are still some comments "added by me". Can you remove them, please ?

Thanks in advance.
Best regards.

@deepankar321
Copy link
Copy Markdown
Author

I am really sorry for mistakes. I didn't notice that my PR is for master.
now i have done this .
Please check it in dev branch.

Thanks & Regards

p.s. hope so this time there will be no other mistakes.

@maximebiloe
Copy link
Copy Markdown
Contributor

Hello,

It looks fine but I think you forgot to modify producttooltip.tpl file. Indeed, the cart_people element is not used in the tpl, so it's not displayed.
Could you please update your commit and your PR ?

Thanks in advance.
Regards.

in producttooltip module we can see number of customers who added product to a cart
@deepankar321
Copy link
Copy Markdown
Author

hello
I've just updated tpl file of productooltip.

Thanks & Regards

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants