shaolin46
Member
Posted 8 months ago #
Hi to everyone,
I've a little problem with the layout of the widget, the simple widget (not the improved).
I've set:
-show when empty : yes
-show total number of different product
-Text to show when Cart is empty: 0
Well, I use the ajax option to display the product added, without going to the cart page. It works well, but this cause me an error.
When I add a product, instead of showing simply the number and the link, the widget display all the cart, with other information I don't need.
Here is an example: http://neonewbie.altervista.org/misto/eshop_problem.png
If I refresh the page, all works well.
Example: http://neonewbie.altervista.org/misto/eshop_ok.png
Thanks for helping me.
http://wordpress.org/extend/plugins/eshop/
shaolin46
Member
Posted 8 months ago #
I can't see any issue. The cart widget is working as designed. The rest is down to your theme's CSS. Or you could try using the Improved Cart Widget.
shaolin46
Member
Posted 8 months ago #
Is the cart widget designed to show the table after the item as been added?!?
I just want to see the number of item and the link to the cart/checkout page...
So I've to hide all I don't want with css? Or it's possible to modify something in someFile.php ??
Is the cart widget designed to show the table after the item as been added?!?
Yes. Have you tried using the Improved widget? It's far more customisable.
shaolin46
Member
Posted 8 months ago #
...Ok...I'll try the improved version...
Thanks for the help man, compliments for the plugin again.
Have a good work!
No problem but please remember to vote for the plugin if you're happy with it.
shaolin46
Member
Posted 8 months ago #
ok..I've just voted! ...I'll put "solved" to this topic...
Thanks again!
shaolin46
Member
Posted 8 months ago #
Just another question: with the improved widget, when the user add an item, the widget-cart doesn't update the number of items, the user have to refresh the page...It's possible to modify so that after the item has been added the number of item is shown correctly ?
Thanks again.
Not within the plugin, no.
shaolin46
Member
Posted 8 months ago #
...I mean...modifying some php or adding some JS, looking at some "SessionVariable" used by eshop-plugin...is there any way to display the number of items correctly?