Question Mobile Cart

Status
Not open for further replies.

Espresso

Customer
There has to be a better way to view the cart on mobile.

Right now it's hidden under the "categories" button.

Even changing the "categories" button to "view cart" would be a step. I did this via the phrase editor, but then it doesn't make sense for desktop as it says "view cart" and lists categories.

Can you make the phrase on mobile unique somehow?

On mobile, It took me a while to find that "cart" was hidden under "view categories". My users will give up. Can something be done?

Can you add links to "view cart" on the popup that asks if you want to add an item to your cart? It makes sense that if they do add something to their cart, they might want to view their cart immediately.
 
I added a quick and dirty fix to the template. Hoping you can make it a bit more elegant, like appearing only when an item has been added to the cart.
 

Attachments

  • shopcart.webp
    shopcart.webp
    7.7 KB · Views: 2
You can do that yourself by wrapping the button in <xf:if is="$cartItems is not empty"></xf:if>.

I'm not sure if I want to make any changes here in the core product, as that button would display at an awkward position on desktop.

There is no way to separate desktop and mobile phrases.
 
Thanks for that snippet!

I tried wrapping the cart button I added with the code above but the button now doesn't display at all, even if items are in the cart.
 
Last edited:
Code:
<xf:if is="$cartItems is not empty">
    show the cart now if not empty
    </xf:if>

Tried to simplify it and the text still doesn't show. Take off the if statement and it shows.
 
Ah, my bad, I noticed that's only available in the widget. You could try editing the widget and deploying it to a different area rather than the sidebar.
 
The widget's location can be changed via the Appearance menu group in the AdminCP, you can either remove it from the sidebar entirely or also deploy it somewhere else.

There's also a code for manually deploying it in a template, the code should be on screen in the edit widget page.
 
The problem is, the only places available to deploy anywhere else on the shop is the sidenav.

On mobile it's hidden behind the "categories" button.
 
For the shop - the only options are "sidenav"

item category: sidenav
Item page: sidebar
Item overview : sidenav
 
Widgets with no position will not appear anywhere, but you can call the configured widget instance directly in templates using the <xf:widget key="widget_key" /> syntax.
You can use <xf:widget key="dbtech_shop_cart" /> to deploy the block in any template.
 
Is there a way to include the pricing information widget elsewhere in the templates?

I tested...

<xf:widget key="dbtech_pricing_information" />

For some reason it's not showing using Themehouse UIX 2
 
No, sorry. You will need to ask them. If they report that I need to make some changes to support their skin, please let me know what specific changes I need to make going forward.
 
Hello @Espresso,

We hope your ticket regarding DragonByte Shop has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Hello @Espresso,

As we have not heard back from you, your ticket regarding DragonByte Shop has now been closed.

If your ticket has not been resolved, please feel free to start a new support ticket and link back to this ticket.

If you have time, please leave a review on XenForo.com's Resource Manager.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

Similar threads

  • thread_type.dbtech_ecommerce_suggestion thread_type.dbtech_ecommerce_suggestion
Replies
1
Views
123
  • Locked
  • Support ticket Support ticket
Replies
7
Views
232

DragonByte Shop

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,640
Customer rating
5.00 star(s) 3 ratings
Back
Top