Big Commerce, Top\Featured\New Products on category page - bigcommerce

Hi there working with bigcommerce Im looking to get the following style of break down on each category page
Essentially making a category version of;
%%Panel.HomeFeaturedProducts%%
%%Panel.SideTopSellers%%
%%Panel.HomeNewProducts%%
Ive gone ahead and attempted this however they seem to be pulling in from global values, and there dose not seem to me much option to break these down or limit the category, has anyone done this previously and if so how?

developerscott is correct in those panels not offering contextually unique data. I'd recommend looking into Unbxd. It has a 30 day trial so you can either investigate their programmatic solution or use it in place of making your own.

Related

Vue 3 Better performance of lot of DOM elements

I have a big fat sort of table with lots of elements that make it really buggy.
For context 1 row per user, each user has X projects and each project has 3 month of day display (sort of gantt)
So I built something cool it's working great, but if I scale to more users it begin to be real buggy.
I'm implementing filter to display less users but at some point it need to handle the limit that I have now without being buggy.
What I found is when I'm updating a day it re-render the whole Gantt which is really stupid.
here is a minimal reproduction link: https://stackblitz.com/edit/vitejs-vite-g6azah?file=src%2FApp.vue&terminal=dev
As you can see when I'm updating an input with the v-model:
value.value
I have the attribute with the function
:test="testRerender()"
That trigger for the whole Gantt and I believe it is the issue here.
I saw v-memo that look like what I need but I can't figure out with the doc how can I use it to match my needs (and there is almost no good article on it)
Thanks for your help you would save my life!
I tried to filled proper :key attribute, code optimization, v-memo etc...

How to manually write code to show products in two different currencies, toggled by buttons

We have tried using some of the most popular Shopify Apps for this, and they work fine, but we have no way of controlling the exchange rate, on which basis the currencies are converted. This is very important for us, so we decided to find a way to code it manually.
I'm new to Shopify, but I have a sense of what I'll need to do within Liquid to effect the change. I'll need to change a Liquid variable somehow based on the selected currency and then recalculate it based on the value of that variable.
I am aware that you cannot trigger Liquid from Javascript, as they don't run concurrently, which makes the entire logic fall apart in a sense, or maybe I'm thinking about it the wrong way.
How do I need to approach this?
Any help would be appreciated.

Which SQL table should I use to store `popularity` field

I am setting up a small E-commerce website using Django. My aim is to ensure that the landing page displays products in order of popularity. I am defining popularity as the total number of times a product was purchased.
In terms of design architecture, what is the best way of achieving this?
At first I thought of putting the popularity field inside the Product table. However, I suspect that I will get in trouble with caching further down the line. Perhaps it is best to create a PopularityDetails table with both product_id (pk) and popularity?
I see many website have this functionality so I would have thought that there must be a standard practice on this. Alas, I have not found any resources on the matter. Any help would be much appreciated.
Thanks in advance!

SharePoint 2010 Lists - Totals at Bottom of List Instead of Top of List

Is there a simple way to cause the column totals (like Sum) to appear at the end of a list instead of at the top of the list? Having them at the top just seems unnatural...
Thanks
Lonnie Tyre
You can move the totals to the bottom as described here.
I'd probably venture to guess that this was done because some lists may be large and span multiple pages and it could take quite a while to find out how many items are on a list.
However, you do have options. If you are code-savy, you can enlist the SPList.ItemCount Property and get your answer. From there you can put it anywhere you please. I have done it for custom web part development where the count drove certain things. For instance, maybe you would like to fire some event or change the style of something on the page based on how many tasks a user has assigned to them. You can get that information a few different ways but this is just one.
I'd look into possibly creating your own display forms if you have a strong enough desire. I have done that in SPD a few times.
Good luck!

Google has all the wrong keywords

I hope stackoverflow is the right part of the trinity to ask this kind of question ...
Google webmaster tools shows the keywords it considers important for my blog (blog.schauderhaft.de). But among the top 20% are all the month names (you know january and so on).
I actually have a two part question about this:
why does google think theses are important keywords?
how do I fix that?
It might have something to do with the whole list of archives in the head of your page: <link rel='archives' title='January 2008' and so on.
Do you think this will actually be a problem? These people don't seem to think so..
We used to have a big problem on one of our client websites with a similar problem country names appearing most important. On some pages we were running multiple forms where one could choose a country. Google was finding this all over the place and thus considered it important.
So if you have month names in archives/in dates of articles it might very well be a possibility. You have to ensure you tag each one properly if its a date you can maybe use the HTML5 code to identify that its a date; otherwise in case of archives what you can do is load this using AJAX; or calculate it using javascript.
In order to drop the counry names we had to use a jQuery trick to insert these dynamically into the page following page load. (so google no longer sees the list as important to our website)