New Zenner
- Join Date:
- Mar 2014
- Posts:
- 10
- Plugin Contributions:
- 0
Product as homepage: Need URL to be generic
Hello,
Our shop (ZenCart v1.5.1) sells one product at a time. It's basically a weekly coupon sale where customers can buy X many coupons until they are sold out for that week.
My co-worker has setup our ZenCart install so that a single product loads when visiting the homepage of the site.
Our ZenCart admin settings:
Admin > Configuration > Layout Settings ≥ Skip 1-prod Categories = true
Always Show on Main Page and Main Page = 1
Opens With Category = 2
With the above setup, when a user visits the site:
… they will get redirected to:
https://foo.site.com/zencart/index.php?main_page=product_info&cPath=2&products_id=224
When it comes time to sell a new coupon, we disable the old coupon/product and create a new coupon/product.
Now, when visiting:
… the user gets redirected to:
https://foo.site.com/zencart/index.php?main_page=product_info&cPath=2&products_id=225
Note that the products_id has changed.
Problem:
We're concerned that users will bookmark the product url. When visiting the site again, they won't get redirected to the latest product because the product URL is specific to a single product.
Questions:
-
Is it possible to make the product URL more generic? Optimally, I'd love to have the product detail load on the homepage url: https://foo.site.com/zencart/
-
How would you solve this problem?
Thanks!
M