there are a lot of back buttons available on the market. Free and paid ones.
But the don't work on my store, because they are all category based.
That's my problem.
In my store i don't use categories, only attributes (in combination with Amasty Improved navigation).
But all back buttons are based on categories.
Can anyone help me to solve this?
I want a back button which goes back to the filtered products (by attributes).
Or does anyone know a extension for this.\
I have magento 1.6.2.
You can check it out on testwinkel.liefstoereigenwijs.nl
I'm not sure why you want to avoid using categories, but have you tried using javascript?
<a href=”#” onClick=”Javascript:history.back();”>GO back</a>
The only problem with this, is that when a user enters your product page from let's say, goolge, the user will be redirected to google.
You can also take a look at this threat: Back to previous page with header( "Location: " ); in PHP
Related
I am trying to add a small 'lockup' / promo to a page that loads information dynamically based on page.metafield information. Replacing images, video ID's etc. Which all works just fine.
My client is asking for a small area to display a product that relates to this dynamically changing content and I am struggling to come up with a good way to do this.
The current setup is that we have 30 pages with a set of 8 metafields each page. Each one of these pages must show a different , single product with an image, title, price, buy button and another button that links out to a partner site.
I can create snippet and load almost all of this info through metafields manually (price, title etc the client could just add to another metafield) but I would prefer to load a product to pull this info so it can be added to cart. Although I can add product data manually, I still don't actually know which product will get added to the cart, because I'm on a 'page' not a 'product'.
The products themselves are using a custom template that is different to the rest of the site so that seems like its not an option. The template for this content page is just 'page' but surely I can call the product object someway? If the client entered a product ID in the metafields, is there a way of pulling that IDs data easily?
Whatever you mean by pulling ID's, but there are a couple of ways of dealing with this. One, you have a Storefront API token, allowing you to freely and securely call Shopify with JS and get back all the data about the ID you're interested in. Or, you have an App installed in the store, in which case you can setup and callback an App Proxy, providing that ID, and getting back all the info you need. Lots of options!
Is it possible to have a checkbox on the product page that are upselling the current product? For example if the user wants to buy a computer they might want to add a mouse, is that possible to implement on the product page for the computer by adding a checkbox that says "Add a mouse +50 SEK", and mouse in this case is referring to another existing product?
natively you can add a customized checkbox value to your pdp. You would do this under Products > View > Edit > Customizations. Select checkbox. Then enter rules to increase the price when selected. However, this is not tied directly to the product, so you'd have to run your own custom logic to handle inventory if you go this route.
Another option is to use a picklist. This is in the same location as checkbox. However the difference is that you can directly link this to a product on your storefront and not have to worry about inventory as it can be handled within BC if you select that option.
A third option is to use an app from the App Marketplace. I've used the BuyButtons app + an HTML widget on the pdp in a quick test to see how this would look. It would need some tweaking to get it to how you'd like, but it was fairly straight forward.
There are likely many other ways to accomplish this, though! These are just some native options & an app option. Thanks!
I'm trying to get all products from CS-Cart but I can only get all products from one page (24 by default). Anyone knows if there is a cleaner way to do this than to change the items_per_page value to a big number?
Thanks
If you set ?items_per_page=0, CS-Cart will list all products for you within a category.
If you want to display a link in the "Items per page" dropdown, it can be a little bit tricky, because you have to write a custom "sorting.tpl" template. Right now, there is no hook you can connnect.
Ok, I have been searching for days on how to fix the vimeo urls on this page: https://www.createjobsforusa.org
Basically, I just got an SSL certificate and I'd like to change http://{the vimeo url} vimeo linking videos to https://{the vimeo url} Simple edit is all I need, but I can't find where the videos are located.
Content Blocks? All I get are settings for this. Pages? So, I go to "Content" and I see a huge list of pages in there, I see a page called "Home", so I click on the Edit link and the body of the page is blank? Ok, so this has to be coming from someplace else, but where?
Can someone please help me with how to find the vimeo video URLs and change them to "https://" instead of "http://"
I think the View is called: A-Spots... here are pics of what I get when I click on the Edit A-Spot View:
What exactly am I supposed to do here? Seems like so much to do, but every option I seem to choose still doesn't give me the option to change the vimeo URLs.
A view just select nodes (or other entities) to show them. If you edit a view, you just change the way those nodes are selected or shown; you don't edit the nodes a view selects to show.
If you look at the preview of that view, you will notice it shows some numbers; those numbers are node IDs. Just edit the node from https://www.createjobsforusa.org/node/55291246/edit; replace 55291246 with the other IDs shown, and you will be able to edit all the nodes used from the view.
If that doesn't work, https://www.createjobsforusa.org/admin/content lists all the content in the site. Just look for the nodes whose ID is the one shown in that preview, and edit them.
Im maintaining a site I didnt build thats for car insurance. In the banner of every page is an input that takes you to a page with a form to fill out. I cant understand why an input is used instead of a link, is there ever a valid and semantic reason for doing this?
Occasionally, people have done this because they want a link that "looks like a button". However, it is bad design.
It was never a good idea, but in the old days there was at least some justification for it: it gave a button feel and functionality to the link. However, with modern web design there is no need to do this: the same functionality can be created simply by styling a normal link appropriately.
On the other hand, this is probably more of a style issue than a real problem. It may not be worth changing it if you are maintaining an existing site.
using button or input type="button" is the original way to set up an Ajax request. that said, since it's taking the user to another page, sounds like they do not know what they are doing and/or wanted the styles that #dan1111 mentioned