<script type="text/javascript">
var _trustvox_shelf_rate = _trustvox_shelf_rate || [];
_trustvox_shelf_rate.push(['_storeId', 'XXXXXX']);
ssh -i ~/.ssh/google [email protected]
cd /mnt/trustvox_certificates-production/current/ && bundle exec rails c
StoreCertificateIdentifier.create(store_id: XXX, store_name: "XXXXXX")
[TOC] ##Aplicação principal da Trustvox
##Help da Trustvox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Página de produto | |
## Head | |
_CSS responsável pelo estilo nas estrelinhas com texto "Clique e veja!"_ | |
```html | |
<style type="text/css"> | |
.trustvox-widget-rating .ts-shelf-container, | |
.trustvox-widget-rating .trustvox-shelf-container {display: inline-block;} |
ssh -i ~/.ssh/google [email protected]
cd /mnt/trustvox-production/current && bundle exec rails c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
- Alterar o atual
itemscope="" itemtype="http://data-vocabulary.org/Product"
paraitemscope="" itemtype="http://schema.org/Product"
. - Remover ou ajustar atributos específicos do tipo
data-vocabulay
paraschema
como por exemplo:itemprop="identifier"
,itemprop="availability"
, inserir nome,itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"
e qualquer outro atributo que esteja dando erro.
Link: https://search.google.com/structured-data/testing-tool?hl=pt-BR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Trocar opinião do produto | |
```PowerShell | |
p = Store.find(3481).products.where(code: '3982').first | |
pNew = Store.find(3481).products.where(code: '2564').first | |
ops = Store.find(3481).opinions.where(product_id: p) |