How to go to a blank WordPress page?

Good afternoon, the question in the title is a bit chaotic, and probably not entirely accurate. The essence of the following. On the page there are several items of goods, these items can add to cart (data is written to LocalStorage). And there is a link where you need to go to another page, which should include the header, footer and, in fact, a dynamically created block with the data from LocalStorage, i.e. the list of goods that were selected. So, how to open (if I do in the direction move) a blank page with header and footer? How to upload data from localStorage, I know, I'm not clear just exactly how to create such a separate page. In the code about this as it is very chaotically written, I a little that understood))
June 8th 19 at 16:52
1 answer
June 8th 19 at 16:54
Solution
create a new page, but do not write anything in content, to call it checkout for credibility
and under it to create a custom template in the theme page-checkout.php where to connect the header, footer and the rest to cut for specific tasks - Velva.Rogahn commented on June 8th 19 at 16:57
If there is such knowledge, it certainly is the best option, in the same template, you can add the script that generates the contents of the basket - Willie.Berge commented on June 8th 19 at 17:00
, , looks quite logical, now you have to understand how to create a custom template. How, for example, usable information in this article? If suitable, it would still not be able to use it, because I have no stupid select templates for pages)) something went wrong)) - Oleta96 commented on June 8th 19 at 17:03
The article itself is quite good. Lack you select a template probably is due to the fact that he simply you have one and there is nothing to choose. - Willie.Berge commented on June 8th 19 at 17:06
Thank you all, will start) - Oleta96 commented on June 8th 19 at 17:09
Seems I'm not quite correctly expressed. Pattern in this sense (as in the article) you do not need. If you have a page with slalom checkout, then copy the theme file page.php in page-checkout.php and in this rule. WordPress uses standard templates in your hierarchy, and if your page exists radarlaser then it will be used. - Velva.Rogahn commented on June 8th 19 at 17:12
yeah, like okay, thanks, I'll try. - Oleta96 commented on June 8th 19 at 17:15

Find more questions by tags WordPress