9:44 pm
March 4, 2023
By default, WooCommerce does not have a specific custom field to store a link to an external order page for a product. Your theme may use some custom filed for that, but its name depends on your theme.
As about the price, so it should be stored in the "_price" custom filed. For example, if you import an Amazon product with the "Amazon product search page", the price can be obtained from the "price" XML tag. To store its value as a WooCommerce product price, you have to put the following line into the Login to see this link box:
Login to see the code
The same method works with a link to Amazon product page. As said above, WooCommerce has no such a custom field. It's made to sell your own products via your own billing form. But if your theme uses some custom field for that (say "product_page"), you can use the same method:
Login to see the code
Don't forget to select "product" in the CyberSEO Pro Syndicator Login to see this link, such as WooCommerce product categories, tags etc.
You can use Login to see this link to add a link to Amazon product page to above or below the post's body. E.g.:
Login to see the code
10:50 pm
March 4, 2023
I've added this feature to the "Amazon product search page" preset. Now the item's price will be automatically added as a WooCommerce product field.
Any WooCommerce product is just a normal WordPress that belongs to "product" custom post type, which should be selected in the CyberSEO Pro feed settings, and it has the following custom fields:
Login to see the quote
The CyberSEO Pro plugin gives you full control over the WooCommerce products and allows you to customize any of their fields just as you want. Especially if you are familiar with PHP at a basic level and know how to write CyberSEO Pro snippets. E.g.:
Login to see the code
The snippet above extracts the product's price from the XML "price" tag and sets it as a WooCommerce product sale price without a currency symbol. After that it adds 5 ($, € etc) to the actual ("old") price, to make the potential buyer think that the product is on sale and it's cheaper than it was say a day before...
Yes, that's a dirty trick, but it shows you the way you can easily manipulate with any WooCommerce product fields.
Most Users Ever Online: 541
Currently Online:
12 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 84
s.baryshev.aoasp: 68
Freedom: 61
Pandermos: 54
MediFormatica: 49
B8europe: 48
Member Stats:
Guest Posters: 337
Members: 2852
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1640
Posts: 8352
Newest Members:
torontomark48, info.ckmedianetwork, contact.mybeautystar, samuelbodde, john.prush, creightonnick0Administrators: CyberSEO: 3947