I am working on the e-commerce application and on product detail page i am showing product detail and bottom of the same page i am showing the related products using ngx-tiny-slider.
when user click on any of the related products than same router hit with different id say when the first time user came on the product-detail page the router was /product-detail/1 and when user click on the related product then the router /product-detail/2.
So expected behavior is when user user click on the related product item then that product detail should be show and "related product" related to the current product should come in the slider.
But everything work fine but the new "related product" not properly re-initialized in the tiny-slider.
Hi,
I am working on the e-commerce application and on product detail page i am showing product detail and bottom of the same page i am showing the related products using ngx-tiny-slider.
when user click on any of the related products than same router hit with different id say when the first time user came on the product-detail page the router was /product-detail/1 and when user click on the related product then the router /product-detail/2.
So expected behavior is when user user click on the related product item then that product detail should be show and "related product" related to the current product should come in the slider. But everything work fine but the new "related product" not properly re-initialized in the tiny-slider.
Please suggest where i am doing wrong.