Hi guys, thanks for your inquiry and sorry for the delay. I’ve just spoken to the review team and the answer is yes, you can submit an existing theme as a new theme adapted to the e-commerce category.
We contacted support once with the same enquiry and got the above answer as well.
Thanks for your applications. Once we have received a satisfactory number of applications we’ll then start contacting the applicants which we feel are a potential good fit for the role.
I never said you should store builder layout data into post_content.
your previous post being
[...] It is entirely possible to create a layout builder without shortcodes or metadata.
i assumed that’s what you meant. If to store builder layout inside a single meta is not an issue then i have nothing to argue.
greenshady saidI thought the same since, in my post, i explained why i don’t think to store builder layout data into post_content is a viable solution and you’d still rely on meta for that.
I’m pretty sure people simply don’t read the words that I write sometimes.
To use post_content as builder storage and saving rendered markup into it as fallback for customers switching theme are not the same thing in my book: builder itself won’t need/use post_content to edit/render page content.
greenshady saidI don’t see post content as viable solution to store page builder structure, to me it has too many drawbacks. For instance, you would need to parse the markup and rebuild the builder layout each time the page is edited.
Sure. Essentially, the idea is to tie all the data back into
$post->post_contentwithout resorting to shortcodes.
Consider a block which pulls data from other posts, you would store the generated markup at the time the page is saved but changes made to those posts afterwards would be ignored unless the parsing/markup translation is done again each time the page is rendered.
Using a single meta to store the builder layout as a serialized object is simpler and requires no parsing (unlike markup/shortcode case).
Markup can be rendered into post_content as well when saving the builder layout, this way user switching theme won’t lose any content.